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
+20
View File
@@ -0,0 +1,20 @@
{{- /* Build the roster from the member pages under /people. Each person's
status lives once, in their own front matter: set `alumnus: true`
for past members. */ -}}
{{- $people := (site.GetPage "/people").Pages -}}
{{- $current := where $people "Params.alumnus" "!=" true -}}
{{- $alumni := where $people "Params.alumnus" true -}}
<h2 id="group">Group</h2>
<ul>
{{- range $current.ByWeight }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a>{{ with .Params.role }}, {{ . }}{{ end }}{{ with .Params.links }}{{ range . }} · <a href="{{ .url }}">{{ .name }}</a>{{ end }}{{ end }}</li>
{{- end }}
</ul>
{{- with $alumni }}
<h2 id="alumni">Alumni</h2>
<ul>
{{- range .ByWeight }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a>{{ with .Params.role }}, {{ . }}{{ end }}{{ with .Params.links }}{{ range . }} · <a href="{{ .url }}">{{ .name }}</a>{{ end }}{{ end }}</li>
{{- end }}
</ul>
{{- end -}}