Add anchor link to link group title

This commit is contained in:
Helen Chong 2024-06-30 16:21:26 +08:00
parent b18c487bfd
commit 14dc031cd4
1 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,9 @@ isContentDivided: true
<article class="tabwrap">
{% for group in linkGroups %}
<section id="{{ group.data.title | slugify }}" class="content__section">
<h2>{{ group.data.title }}</h2>
{% headingAnchor 2 %}
{{ group.data.title }}
{% endheadingAnchor %}
{{ group.templateContent | safe }}
<a href="#linktabs" class="tab__btn" style="margin-top: 3em;">Back to tabs</a>
</section>