mirror of
https://github.com/loikein/hugo-tufte.git
synced 2025-08-10 04:52:44 +02:00
add new layers
This commit is contained in:
parent
947a89b641
commit
b3c260bccf
3 changed files with 85 additions and 0 deletions
layouts/book
25
layouts/book/chapters.html
Normal file
25
layouts/book/chapters.html
Normal file
|
@ -0,0 +1,25 @@
|
|||
{{ define "main" }}
|
||||
|
||||
<div id="layout">
|
||||
<article>
|
||||
|
||||
{{ partial "brand.html" . }}
|
||||
|
||||
{{ partial "content.header.html" . }}
|
||||
|
||||
<section class="list-page">
|
||||
<ul>
|
||||
{{ range .Pages.ByTitle }}
|
||||
{{ if .IsPage }}
|
||||
<li><a href="{{ .RelPermalink }}">{{.Title}}</a></li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
|
||||
</article>
|
||||
</div>
|
||||
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue