feat: add tag list to post header
This commit is contained in:
@@ -8,6 +8,17 @@
|
||||
<div class="post-header">
|
||||
<h1 class="title">{{ .Title }}</h1>
|
||||
<div class="meta">Posted at — {{ dateFormat "Jan 2, 2006" .Date }}</div>
|
||||
<div class="post-tags">
|
||||
<small>
|
||||
{{ if ne .Type "page" }}
|
||||
{{ if gt .Params.tags 0 }}
|
||||
{{ range .Params.tags }}
|
||||
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="markdown">
|
||||
|
Reference in New Issue
Block a user