hugo-battheme/layouts/_default/single.html

33 lines
789 B
HTML
Raw Normal View History

2022-04-09 16:00:33 +00:00
{{ define "main" }}
<section id="main">
2022-04-12 21:13:48 +00:00
<div class="titlecontainer">
2022-04-18 09:07:06 +00:00
<h1 id="title" class="colorswitch"><a href="../" class="colorswitch uplink">{{ .Title }}</a></h1>
2022-04-12 21:13:48 +00:00
</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 }}