hugo-battheme/layouts/_default/single.html
2022-04-18 11:07:06 +02:00

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 }}