Add partial for title extra in list page
1 files changed, 6 insertions(+), 2 deletions(-) M layouts/_default/list.html
M layouts/_default/list.html => layouts/_default/list.html +6 -2
@@ 1,10 1,14 @@ {{ define "main" }} <main class="content-list"> {{ $listtitle := .Title }} {{ $pageKind := .Kind }} {{ if or .Title .Content }} <div> {{ with .Title }}<h1>{{ . }}</h1>{{ end }} {{ if .Title }} <h1> {{ .Title }} {{ partial "single-title-extra.html" . }} </h1> {{ end }} {{ with .Content }}<div class="justify">{{ . }}</div>{{ end }} </div> {{ end }}