1
Fork 0
This commit is contained in:
MMaker 2025-12-02 23:49:51 -05:00
commit cf7a27bfa1
Signed by: mmaker
GPG key ID: CCE79B8FEDA40FB2
225 changed files with 3580 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{{ define "main" }}
<main>
<article>
{{ if or .Title .Content }}
<div>
{{ with .Title }}<h2 class="title">{{ . }}</h2>{{ end }}
{{ with .Content }}<div>{{ . }}</div>{{ end }}
</div>
{{ end }}
<ul>
<li><a href="/things">All</a></li>
<li><a href="/things/article">Articles</a></li>
<li><a href="/things/game">Games</a></li>
<li><a href="/things/video">Videos</a></li>
<li><a href="/things/website">Websites</a></li>
</ul>
{{ $showAll := .Parent.IsHome }}
{{ partial "things.html" (dict "ctx" . "showAll" $showAll) }}
</article>
</main>
{{ end }}