infidel-cupper-theme/layouts/index.html
Gitea 78d0c6db37 UPDATES:
* Custom link handlers for profile (icon-links.html)
* Custom classes for homepage styles (border, tables, etc)
2022-07-27 10:00:53 -04:00

37 lines
1.3 KiB
HTML

{{ define "main" }}
<main id="main">
<nav class="inf-border" aria-labelledby="toc-heading">
<h3>{{ .Title }}</h3>
{{ .Content }}
{{ partial "icon-links.html" . }}
</nav>
<nav class="inf-border" aria-labelledby="toc-heading">
<h3> Check My Recent Posts </h3>
<table>
<ul class="inf-patterns-list" id="list">
{{ range (.Paginator 4).Pages.ByPublishDate.Reverse }}
<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>
</main>
{{ end }}