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

github.com/mattbutton/silhouette-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt <kendoran@gmail.com>2019-01-06 13:05:18 +0300
committerMatt <kendoran@gmail.com>2019-01-06 13:05:18 +0300
commit8ae2e246136c69784f4057f6f40c82293a4629b1 (patch)
treebe4b327aa9f10cd7276474e2631d6dd52d002845
parentfb2b443c1d762f8afc89db7a31019b67804396e6 (diff)
tags are now urlized
-rw-r--r--layouts/partials/post-meta.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/post-meta.html b/layouts/partials/post-meta.html
index ebfdee0..5cd2a78 100644
--- a/layouts/partials/post-meta.html
+++ b/layouts/partials/post-meta.html
@@ -2,6 +2,6 @@
<small>
<strong>By {{ if .Params.Author }}{{ .Params.Author }}{{ else }}{{ .Site.Params.Author }}{{ end }}</strong>
| <i class="far fa-calendar-alt"></i>&nbsp;{{- .Date.Format "Jan 2, 2006" -}}&nbsp;
- | <i class="fa fa-tags" title="Tags" aria-hidden="true"></i> {{ range $i, $e := .Params.tags }}{{ if $i }}, {{ end }}<a href='/tags/{{ (replace $e "#" "%23") | urlize }}/'>{{ $e }}</a>{{ end }}
+ | <i class="fa fa-tags" title="Tags" aria-hidden="true"></i> {{ range $i, $e := .Params.tags }}{{ if $i }}, {{ end }}<a href='/tags/{{ (replace $e "#" "%23") | urlize }}/'>{{ $e | urlize }}</a>{{ end }}
</small>
</div> \ No newline at end of file