-
- {% include vendor/anchor_headings.html html=content anchorBody="#" anchorClass="anchor_heading" %}
+ {% if site.anchor_headings != false %}
+ {% include vendor/anchor_headings.html html=content beforeHeading = "true" anchorBody="" anchorClass="anchor-heading" %}
+ {% else %}
+ {{ content }}
+ {% endif %}
{% if page.has_children == true and page.has_toc != false %}