trwnh.com/wiki.hugo/layouts/partials/firstH1.html

16 lines
126 B
HTML
Raw Normal View History

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