Skip to content

Commit

Permalink
Merge pull request #76 from jesfrk7/fix-categories-link
Browse files Browse the repository at this point in the history
fix for categories link
  • Loading branch information
xaprb authored Feb 3, 2019
2 parents f92f9fc + b17c580 commit 04d113b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ <h2 class="{{ cond $hdr "near-white mt3-l mb4-l" "" }} fw1 f6 f3-l measure-wide-
{{- .Date.Format "Jan 2, 2006" -}}
</time>
<span class="display-print">by {{ .Params.author | default .Site.Params.author }}</span>
{{ range $idx, $cat := .Params.categories }}{{ if gt $idx 0 }}, {{ end }}{{ if eq $idx 0 }} in {{ end }}<a href="{{ "categories/" | absURL }}/{{ . | urlize }}" class="no-underline category {{ cond $hdr "near-white dim" "black hover-gray" }}">{{ . | title }}</a>{{ end }}
{{ range $idx, $cat := .Params.categories }}{{ if gt $idx 0 }}, {{ end }}{{ if eq $idx 0 }} in {{ end }}<a href="{{ "categories" | absURL }}/{{ . | urlize }}" class="no-underline category {{ cond $hdr "near-white dim" "black hover-gray" }}">{{ . | title }}</a>{{ end }}
<span class="display-print">at {{ .Permalink }}</span>
{{ end }}
{{ else }}
Expand Down

0 comments on commit 04d113b

Please sign in to comment.