diff options
author | Matt <kendoran@gmail.com> | 2019-01-06 13:05:18 +0300 |
---|---|---|
committer | Matt <kendoran@gmail.com> | 2019-01-06 13:05:18 +0300 |
commit | 8ae2e246136c69784f4057f6f40c82293a4629b1 (patch) | |
tree | be4b327aa9f10cd7276474e2631d6dd52d002845 | |
parent | fb2b443c1d762f8afc89db7a31019b67804396e6 (diff) |
tags are now urlized
-rw-r--r-- | layouts/partials/post-meta.html | 2 |
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> {{- .Date.Format "Jan 2, 2006" -}} - | <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 |