questions mark

This commit is contained in:
zoe 2022-04-11 22:44:06 +02:00
parent 2f630b6a5b
commit b09fd3f3e1
4 changed files with 99 additions and 41 deletions

View file

@ -1,8 +1,16 @@
{{ define "main" }}
<section id="main">
<h1 id="title" class="colorswitch">Single Page {{ .Title }}</h1>
<div>
{{ with .PrevInSection }}
<a class="previous colorswitch" href="{{.Permalink}}">previous: {{.Title}}</a>
{{ end }}
{{ with .NextInSection }}
<a class="next colorswitch" href="{{.Permalink}}">next: {{.Title}}</a>
{{ end }}
</div>
<div>
<article id="content">
<article id="content" class="colorswitch">
{{ .Content }}
</article>
</div>
@ -26,13 +34,5 @@
</ul>
{{ end }}
</div>
<div>
{{ with .PrevInSection }}
<a class="previous colorswitch" href="{{.Permalink}}">previous: {{.Title}}</a>
{{ end }}
{{ with .NextInSection }}
<a class="next colorswitch" href="{{.Permalink}}">next: {{.Title}}</a>
{{ end }}
</div>
</aside>
{{ end }}