Support tags

Signed-off-by: SeongJae Park <sj38.park@gmail.com>
This commit is contained in:
SeongJae Park 2017-02-24 18:31:35 +09:00
parent 393582a537
commit 558005341e
2 changed files with 75 additions and 2 deletions

View file

@ -46,7 +46,6 @@
<p class="post-meta">
Posted on {{ .Date.Format "January 2, 2006" }}
</p>
<div class="post-entry">
{{ if .Truncated }}
{{ .Summary }}
@ -55,7 +54,15 @@
{{ .Content }}
{{ end }}
</div>
{{ if .Params.tags }}
<span class="post-meta">
{{ range .Params.tags }}
#<a href="/tags/{{ . | urlize }}">{{ . }}</a>&nbsp;
{{ end }}
</span>
{{ end }}
</article>
{{ end }}
</div>