improve style and base layout

This commit is contained in:
2025-06-06 17:06:11 -06:00
parent 94950041f6
commit 4acfe1d027
11 changed files with 349 additions and 42 deletions

View File

@ -1,7 +1,13 @@
{{ define "main" }}
{{ .Content }}
{{ range site.RegularPages }}
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
{{ .Summary }}
{{ end }}
{{ $pages := shuffle (where site.RegularPages "Section" "tools") | first 20 }}
<section>
<h2>Featured Tools</h2>
{{ range $pages }}
<article>
<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
<p>{{ .Content | truncate 100 }}</p>
</article>
{{ end }}
</section>
{{ end }}