mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-12-23 13:59:44 +01:00
remove brand on list pages
This commit is contained in:
parent
0f09e896bb
commit
63c95bf37f
4 changed files with 6 additions and 9 deletions
|
@ -4,7 +4,6 @@
|
|||
<article class="pure-u-1">
|
||||
|
||||
{{ partial "brand.html" . }}
|
||||
|
||||
{{ partial "content.header.html" . }}
|
||||
|
||||
<section class="list-page">
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue