trwnh.com/wiki.hugo/layouts/partials/firstH1.html
2024-09-29 20:32:51 -05:00

16 lines
No EOL
126 B
HTML

{{ $firstH1 :=
(
substr
(
delimit
(
findRE
"^#{1} ([^{\n]+)"
.RawContent
1
)
""
)
2
)
}}