remove brand on list pages

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

View file

@ -4,7 +4,6 @@
<article class="pure-u-1">
{{ partial "brand.html" . }}
{{ partial "content.header.html" . }}
<section class="list-page">

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>

View file

@ -3,8 +3,6 @@
<div id="layout">
<article>
{{ partial "brand.html" . }}
{{ partial "content.header.html" . }}
{{ with .Content }}
@ -24,6 +22,7 @@
</section>
{{ partial "footer.html" . }}
{{ partial "nav.html" . }}
</article>
</div>

View file

@ -3,8 +3,6 @@
<div id="layout">
<article>
{{ partial "brand.html" . }}
{{ partial "content.header.html" . }}
{{ with .Content }}
@ -37,6 +35,7 @@
</section>
{{ partial "footer.html" . }}
{{ partial "nav.html" . }}
</article>
</div>