oliverdavies.uk/website/source/_includes/post/heading-with-anchor.html.twig

4 lines
75 B
Twig

<a name="{{ text|lower|replace({ ' ': '-' }) }}"></a>
<h2>{{ text }}</h2>