Updates for publishing

This commit is contained in:
Matt Jadud
2025-09-18 07:16:19 -04:00
parent 7e64954bcb
commit b26471fce5
44 changed files with 1513 additions and 257 deletions

View File

@@ -0,0 +1,24 @@
{{ define "main" }}
<!-- this is a single article / docs -->
{{/* https://discourse.gohugo.io/t/how-can-i-filter-pages-by-tag/12245/6 */}}
{{$articles := .Site.RegularPages.RelatedTo (keyVals "tags" "article")}}
<div class='hx:mx-auto hx:flex hextra-max-page-width'>
{{ partial "sidebar.html" (dict "context" .) }}
<article class="hx:w-full hx:break-words hx:flex hx:min-h-[calc(100vh-var(--navbar-height))] hx:min-w-0 hx:justify-center hx:pb-8 hx:pr-[calc(env(safe-area-inset-right)-1.5rem)]">
<main class="hx:w-full hx:min-w-0 hx:max-w-6xl hx:px-6 hx:pt-4 hx:md:px-12">
<div class="content">
section-summary {{.Content}}
<ul class="all-posts">
{{range $articles }}
<li>d <a href="{{.Permalink}}">{{.Title}}</a><br>{{.Param "blurb"}}</li>
{{end}}
asdfasdf
</ul>
</div>
{{ partial "components/last-updated.html" . }}
{{ partial "components/pager.html" . }}
{{ partial "components/comments.html" . }}
</main>
</article>
</div>
{{ end }}