Moving all the theme files out of the theme directory

This commit is contained in:
Dan 2025-12-08 13:52:23 +00:00
parent 23369f4ace
commit 3006bff575
40 changed files with 477 additions and 11 deletions

View file

@ -0,0 +1,22 @@
{{ define "main" }}
{{ $data := .Data }}
<article>
<div>
{{ .Content }}
</div>
</article>
<div>
<section>
{{ range $key, $value := .Data.Terms }}
<h2>
<a href="{{ "/" | relLangURL }}{{ $.Data.Plural | urlize }}/{{ $key | urlize }}">
{{ $.Data.Singular | humanize }}: {{ $key }}
</a>
</h2>
{{ range $value.Pages }}
{{ partial "summary.html" . }}
{{ end }}
{{ end }}
</section>
</div>
{{ end }}