blog/layouts/index.html

38 lines
1012 B
HTML
Raw Normal View History

{{ define "main" }}
<main id="home" aria-role="main">
<div class="intro">
{{.Content}}
</div>
2020-08-19 19:04:04 +00:00
<ul class="posts">
{{ range where .Site.RegularPages "Section" "posts" }}
<li>
<div>
<a href="{{ .Permalink }}" class="wa link">
<span>{{ .LinkTitle }}</span>
<b class="arrow"></b>
</a>
</div>
<time>
{{ .PublishDate.Format "January 2006" }}
</time>
</li>
{{ end }}
</ul>
2020-08-19 19:04:04 +00:00
<ul class="thoughts">
{{ range where .Site.RegularPages "Section" "thoughts" }}
<li>
<a href="{{ .Permalink }}" class="wa link">
<span>
{{ .LinkTitle }}
</span>
<time>
{{ .PublishDate.Format "January 2, 2006" }}
</time>
<b class="arrow"></b>
</a>
</li>
{{ end }}
</ul>
</main>
{{ end }}