diff options
Diffstat (limited to 'layouts/partials/docs/post-meta.html')
-rw-r--r-- | layouts/partials/docs/post-meta.html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/layouts/partials/docs/post-meta.html b/layouts/partials/docs/post-meta.html index 70adb0b..c56a528 100644 --- a/layouts/partials/docs/post-meta.html +++ b/layouts/partials/docs/post-meta.html @@ -1,13 +1,12 @@ -{{ $dateFormat := (default "January 2, 2006" .Site.Params.BookDateFormat) }} {{ with .Date}} - <h5>{{ .Format $dateFormat }}</h5> + <h5>{{ partial "docs/date" (dict "Date" . "Format" $.Site.Params.BookDateFormat) }}</h5> {{ end }} {{ range $taxonomy, $_ := .Site.Taxonomies }} {{ with $terms := $.GetTerms $taxonomy }} <div> {{ range $n, $term := $terms }}{{ if $n }}, {{ end }} - <a href="{{ $term.RelPermalink }}">{{ $term.Title }}</a> + <a href="{{ $term.RelPermalink }}">{{ $term.Title }}</a> {{- end }} </div> {{ end }} |