Fixed tags links in blog articles
This commit is contained in:
parent
c6a8b81103
commit
b8c8e0828c
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
<p>
|
<p>
|
||||||
{{ if ne .PublishDate.Year 1 }}{{ .PublishDate.Format "2006-01-02" }} - {{ end }}{{ .Description }}
|
{{ if ne .PublishDate.Year 1 }}{{ .PublishDate.Format "2006-01-02" }} - {{ end }}{{ .Description }}
|
||||||
|
|
||||||
{{ if (isset .Params "tags") }}{{ if ge (len .Params.tags) 1 }}<br/>Tag{{ if ge (len .Params.tags) 2 }}s{{ end }}: {{ range .Params.tags }}<a href="/tags/{{ . }}">{{ . }}</a> {{ end }}{{ end }}{{ end }}
|
{{ if (isset .Params "tags") }}{{ if ge (len .Params.tags) 1 }}<br/>Tag{{ if ge (len .Params.tags) 2 }}s{{ end }}: {{ range .Params.tags }}{{ with $.Site.GetPage (printf "/%s/%s" "tags" .) }}<a href="{{ .Permalink }}">{{ .Title }}</a> {{ end }}{{ end }}{{ end }}{{ end }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
{{ partial "toc.html" . }}
|
{{ partial "toc.html" . }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue