diff --git a/_includes/anchor_headings.html b/_includes/anchor_headings.html index ee5c2a6..a16253d 100644 --- a/_includes/anchor_headings.html +++ b/_includes/anchor_headings.html @@ -139,7 +139,7 @@ {% capture anchor %}{{ anchor }} {{ include.anchorAttrs | replace: '%heading%', escaped_header | replace: '%html_id%', html_id }}{% endcapture %} {% endif %} - {% capture anchor %}{{ include.anchorBody | replace: '%heading%', escaped_header | default: '' }}{% endcapture %} + {% capture anchor %}{{ include.anchorBody | replace: '%heading%', escaped_header | default: '' }}{% endcapture %} {% if beforeHeading %} diff --git a/_layouts/default.html b/_layouts/default.html index 7793784..1bf6ac0 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,4 +1,5 @@ - +`` + {% include head.html %} -
- {% include anchor_headings.html html=content anchorBody="" +
+ {% include anchor_headings.html html=content anchorAttrs=anchorBody="" anchorClass="content-center" %} -
+