mirror of
https://git.kittycat.homes/zoe/hugo-battheme.git
synced 2024-08-15 03:25:18 +00:00
33 lines
742 B
HTML
33 lines
742 B
HTML
{{ define "main" }}
|
|
<section id="main">
|
|
<div class="titlecontainer">
|
|
<h1 id="title" class="colorswitch">{{ .Title }}</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 }}
|