Hugo-based levitation.wales initial commit

This commit is contained in:
2026-09-04 13:48:04 +01:00
commit 74e7c4b3ed
55 changed files with 982 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
{{- /* List the child project pages of the section this shortcode is called
from, ordered by their `weight`. The bold link text is each page's
`linkTitle` (the acronym); the description is the page `title` with the
leading "ACRONYM: " stripped. Keeps this list in sync with the pages
(and hence the sidebar) so a new project is a one-file addition. */ -}}
<ul>
{{- range .Page.Pages.ByWeight }}
{{- $desc := replaceRE `^[^:]+:\s*` "" .Title -}}
<li><a href="{{ .RelPermalink }}"><strong>{{ .LinkTitle }}</strong></a>: {{ $desc }}</li>
{{- end }}
</ul>