update website to include birds

This commit is contained in:
2026-09-02 20:11:35 -04:00
parent 4d505fe646
commit 5123b8e987
14 changed files with 60 additions and 133 deletions
+5 -1
View File
@@ -1,5 +1,9 @@
{{ define "main" }}
{{ $sections := split .Content "<h2" }}
{{- $content := .Content -}}
{{- $content = replaceRE `<div class="footnotes" role="doc-endnotes">` "" $content -}}
{{- $content = replaceRE `</div>\s*$` "" $content -}}
{{- $tmp := $content | safeHTML -}}
{{ $sections := split $tmp "<h2" }}
{{ range after 1 $sections }}
<section>
{{ print "<h2" . | safeHTML }}