diff options
author | Baron Schwartz <xaprb@users.noreply.github.com> | 2019-02-04 01:49:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-04 01:49:43 +0300 |
commit | 04d113bc5f79396aef9bfe54880d770373bf83aa (patch) | |
tree | 2deccb288cfd5254b929208ce51258c41e25d21b | |
parent | f92f9fc834f41a327702ab8f313acca54ebf428b (diff) | |
parent | b17c5804d0c5311f4f2a2c902a227d26faea6d53 (diff) |
Merge pull request #76 from jesfrk7/fix-categories-link
fix for categories link
-rw-r--r-- | layouts/_default/baseof.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 8f10df9..7e412f4 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -99,7 +99,7 @@ {{- .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 }} |