diff options
Diffstat (limited to 'themes/orca/layouts/partials/post-item.html')
-rw-r--r-- | themes/orca/layouts/partials/post-item.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/themes/orca/layouts/partials/post-item.html b/themes/orca/layouts/partials/post-item.html index 183dd28..b20a8f8 100644 --- a/themes/orca/layouts/partials/post-item.html +++ b/themes/orca/layouts/partials/post-item.html @@ -1,11 +1,13 @@ <div class="post"> <small class="right"><a href="/{{ .Type }}/">{{ .Type }}</a></small> - <b><a href="{{ .Permalink }}">{{ .Title }}</a></b> - <br> <i>{{ .Date.Format "January 2nd, 2006" }}</i> <br> + <b><a href="{{ .Permalink }}">{{ .Title }}</a></b> <br> <span> - {{ range $i, $t := .Params.tags }}{{ if $i }}, {{ end }}<a href="">{{ $t }}</a>{{ end }} +{{ range $i, $t := .Params.tags -}} + {{ if $i }}, {{ end -}} + {{ $t -}} +{{- end }} </span> </div> |