infidel-cupper-theme/layouts/index.html

38 lines
1.4 KiB
HTML
Raw Normal View History

2022-11-14 11:16:26 -05:00
{{ define "main" }}
<main id="main">
<nav class="inf-border" aria-labelledby="toc-heading">
<h3>{{ .Title }}</h3>
{{ .Content }}
</nav>
<nav class="inf-border" aria-labelledby="toc-heading">
2023-12-30 04:59:28 -05:00
<h3> <a href="/post"> Check My Recent Posts </a> </h3>
2022-11-14 11:16:26 -05:00
<table>
<ul class="inf-patterns-list" id="list">
2023-12-29 16:13:42 -05:00
{{ range (.Paginator 5).Pages.ByPublishDate.Reverse }}
2022-11-14 11:16:26 -05:00
<tr>
<td>
<a href="{{ .RelPermalink }}" >
<svg class="bookmark-icon" aria-hidden="true" focusable="false" viewBox="0 0 40 50">
<use xlink:href="#bookmark"></use>
</svg>
<span class="text">{{ .Name }}</span>
</a>
</td>
<td class="inf-td-hide">
<a href="{{ .RelPermalink }}" >
<span class="text">{{ .PublishDate.Format "January 2, 2006" }}</span>
</a>
</td>
</tr>
{{ end }}
</ul>
</table>
</nav>
{{ partial "icon-links.html" . }}
</main>
{{ end }}