mirror of
https://git.kittycat.homes/zoe/hugo-battheme.git
synced 2024-08-15 03:25:18 +00:00
22 lines
824 B
HTML
22 lines
824 B
HTML
{{ define "main" }}
|
|
<main>
|
|
<article class="colorswitch">
|
|
<header>
|
|
<h1 id="title"><a target="_blank" rel="noreferrer noopener" href="./index.xml" class="colorswitch with-rss" id="rss-title">{{.Title}} </a></h1>
|
|
</header>
|
|
<!-- "{{.Content}}" pulls from the markdown content of the corresponding _index.md -->
|
|
{{.Content}}
|
|
</article>
|
|
<div id="pagelist">
|
|
<!-- Ranges through content/posts/*.md -->
|
|
{{ range .Pages }}
|
|
<div id="postlist">
|
|
<h2 class="colorswitch posttitle">
|
|
<a class="colorswitch singlepagelink" href="{{.Permalink}}">{{.Title}}</h2><div class="postdescription">{{.Description}}</a><br>
|
|
<a class="postinfo colorswitch" href="{{.Permalink}}">read more...</a>
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
</main>
|
|
{{ end }}
|