mirror of
https://git.kittycat.homes/zoe/hugo-battheme.git
synced 2024-08-15 03:25:18 +00:00
38 lines
925 B
HTML
38 lines
925 B
HTML
{{ define "main" }}
|
|
<section id="main">
|
|
<h1 id="title">Single Page {{ .Title }}</h1>
|
|
<div>
|
|
<article id="content">
|
|
{{ .Content }}
|
|
</article>
|
|
</div>
|
|
</section>
|
|
<aside id="meta">
|
|
<div>
|
|
<section>
|
|
</section>
|
|
{{ with .Params.topics }}
|
|
<ul id="topics">
|
|
{{ range . }}
|
|
<li><a href="{{ "topics" | absURL}}{{ . | urlize }}">{{ . }}</a> </li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ end }}
|
|
{{ with .Params.tags }}
|
|
<ul id="tags">
|
|
{{ range . }}
|
|
<li> <a href="{{ "tags" | absURL }}{{ . | urlize }}">{{ . }}</a> </li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ end }}
|
|
</div>
|
|
<div>
|
|
{{ with .PrevInSection }}
|
|
<a class="previous" href="{{.Permalink}}">previous: {{.Title}}</a>
|
|
{{ end }}
|
|
{{ with .NextInSection }}
|
|
<a class="next" href="{{.Permalink}}">next: {{.Title}}</a>
|
|
{{ end }}
|
|
</div>
|
|
</aside>
|
|
{{ end }}
|