29 lines
1.6 KiB
HTML

{{ define "main" }}
{{ .Content }}
{{ range first 5 .Site.RegularPages }}
<article>
<time>
{{ .PublishDate.Format "2 January 2006" }}
</time>
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
<div class="barcode">
{{ .Params.url }}
</div>
{{ .Summary }}
<div class="jump">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="currentColor" class="icon icon-tabler icons-tabler-filled icon-tabler-bounce-right"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M14.143 11.486a1 1 0 0 1 1.714 1.028c-1.502 2.505 -2.41 4.89 -2.87 7.65c-.16 .956 -1.448 1.15 -1.881 .283c-2.06 -4.12 -3.858 -4.976 -6.79 -3.998a1 1 0 1 1 -.632 -1.898c3.2 -1.067 5.656 -.373 7.803 2.623l.091 .13l.011 -.04c.522 -1.828 1.267 -3.55 2.273 -5.3l.28 -.478z" /><path d="M18 4a3 3 0 1 0 0 6a3 3 0 0 0 0 -6z" /></svg>
<a href="{{ .RelPermalink }}" class="jump">
Read More
</a>
</div>
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
</article>
{{ end }}
<div class="all">
<a href="/posts">
view all
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-arrow-big-right"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 9h8v-3.586a1 1 0 0 1 1.707 -.707l6.586 6.586a1 1 0 0 1 0 1.414l-6.586 6.586a1 1 0 0 1 -1.707 -.707v-3.586h-8a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1z" /></svg>
</a>
</div>
{{ end }}