2022-04-09 16:00:33 +00:00
|
|
|
{{ define "main" }}
|
|
|
|
<section id="main">
|
2022-04-12 21:13:48 +00:00
|
|
|
<div class="titlecontainer">
|
|
|
|
<h1 id="title" class="colorswitch">{{ .Title }}</h1>
|
|
|
|
</div>
|
2022-04-11 20:44:06 +00:00
|
|
|
<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>
|
2022-04-09 16:00:33 +00:00
|
|
|
<div>
|
2022-04-11 20:44:06 +00:00
|
|
|
<article id="content" class="colorswitch">
|
2022-04-09 16:00:33 +00:00
|
|
|
{{ .Content }}
|
|
|
|
</article>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<aside id="meta">
|
|
|
|
<div>
|
|
|
|
<section>
|
|
|
|
</section>
|
|
|
|
{{ with .Params.topics }}
|
|
|
|
<ul id="topics">
|
|
|
|
{{ range . }}
|
2022-04-09 22:15:21 +00:00
|
|
|
<li><a class="colorswitch" href="{{ "topics" | absURL}}{{ . | urlize }}">{{ . }}</a> </li>
|
2022-04-09 16:00:33 +00:00
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
{{ end }}
|
|
|
|
{{ with .Params.tags }}
|
|
|
|
<ul id="tags">
|
|
|
|
{{ range . }}
|
|
|
|
<li> <a href="{{ "tags" | absURL }}{{ . | urlize }}">{{ . }}</a> </li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</aside>
|
|
|
|
{{ end }}
|