remove brand on list pages

This commit is contained in:
loikein 2023-04-29 05:18:01 +01:00
commit 63c95bf37f
4 changed files with 6 additions and 9 deletions
layouts/book

View file

@ -2,15 +2,14 @@
<div id="layout">
<article>
{{ partial "brand.html" . }}
{{ partial "content.header.html" . }}
{{- partial "content.header.html" . -}}
<!-- https://discourse.gohugo.io/t/how-to-build-one-collection-for-all-nested-sections/27950/5 -->
{{ with .Content }}
{{- with .Content -}}
<section>
{{ . }}
</section>
{{ end }}
{{- end -}}
<section class="list-page">
<!-- preambles -->
@ -41,6 +40,7 @@
</section>
{{ partial "footer.html" . }}
{{ partial "nav.html" . }}
</article>
</div>