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"> <article class="pure-u-1">
{{ partial "brand.html" . }} {{ partial "brand.html" . }}
{{ partial "content.header.html" . }} {{ partial "content.header.html" . }}
<section class="list-page"> <section class="list-page">

View file

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

View file

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

View file

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