diff options
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 7ef1f8d..bc058fb 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,9 +1,10 @@ {{ define "main" }} -<article>{{ .Page.Content }}</article> +<article> + {{ partial "partials/full_post.html" . }} + {{- if not (in .Params.category "pages") }} <BR> - added on {{ .PublishDate.Format "January 2, 2006" }} {{- if isset .Params "tags" -}} {{- $tagsLen := len .Params.tags -}} {{- if gt $tagsLen 0 -}} @@ -13,11 +14,10 @@ <a href="{{ $url | absURL }}"> {{ . | title }}</a> {{- if lt $k (sub $tagsLen 1) }} · {{ end -}} {{- end -}} - </div> {{- end -}} {{- end }} - <hr/> +</article> {{ if or .Next .Prev -}} <div> {{- with .Prev }} <a class="prev-link" href="{{ .RelPermalink}}"> ← Previous</a> {{ end -}} |