mirror of
https://git.kittycat.homes/zoe/hugo-battheme.git
synced 2024-08-15 03:25:18 +00:00
32 lines
789 B
HTML
32 lines
789 B
HTML
{{ define "main" }}
|
|
<section id="main">
|
|
<div class="titlecontainer">
|
|
<h1 id="title" class="colorswitch"><a href="../" class="colorswitch uplink">{{ .Title }}</a></h1>
|
|
</div>
|
|
<div>
|
|
<article id="content" class="colorswitch">
|
|
{{ .Content }}
|
|
</article>
|
|
</div>
|
|
</section>
|
|
<aside id="meta">
|
|
<div>
|
|
<section>
|
|
</section>
|
|
{{ with .Params.topics }}
|
|
<ul id="topics">
|
|
{{ range . }}
|
|
<li><a class="colorswitch" 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>
|
|
</aside>
|
|
{{ end }}
|