diff --git a/layouts/_default/term.html b/layouts/_default/term.html index 908d208..92d3069 100644 --- a/layouts/_default/term.html +++ b/layouts/_default/term.html @@ -12,20 +12,20 @@ {{- $hasContent := false -}} {{ with .Content }} {{- $hasContent = true -}} -
{{ . }} -
{{ end }} -{{ if $hasContent }} -

Posts

-{{ end }} +{{ if .Params.posts | default true }} + {{ if and $hasContent }} +

Posts

+ {{ end }} - + + {{ end }} {{ end }} {{ define "footer" }}