Something went wrong. Try again.
The code behind dhawos.dev dhawos.dev
Something went wrong. Try again.
1234567891011121314{{ define "main" }}{{ $slug := path.Base .Path }}{{/* "cat" — stable English term name */}}{{ $icon := resources.Get (printf "tags/icons/%s.svg" ($slug | lower)) }}<section id="term-{{ .Data.Singular }}-{{ .Title | urlize }}" class="mx-4"> <div class="flex flex-row w-fit h-fit items-center mx-2 rounded-lg"> {{ with $icon }}<img src="{{ .RelPermalink }}" class="h-6 w-6 mx-1"/>{{ end }} <h1 class="text-3xl font-bold my-4"> {{ .Title }} </h1> </div> {{ partial "article-list.html" .Pages.ByPublishDate.Reverse }}</section>{{ end }}