Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xaprb/story.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Wilson <joel@joelwilson.net>2019-02-02 19:38:54 +0300
committerJoel Wilson <joel@joelwilson.net>2019-02-02 19:38:54 +0300
commitb17c5804d0c5311f4f2a2c902a227d26faea6d53 (patch)
tree2deccb288cfd5254b929208ce51258c41e25d21b
parentf92f9fc834f41a327702ab8f313acca54ebf428b (diff)
fix for categories link
-rw-r--r--layouts/_default/baseof.html2
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 }}