Sha256: fdf6f7ac96a1d5f89521d89063056a0e7f2392603cd519a0efc45f59a7174e32

Contents?: true

Size: 1.69 KB

Versions: 3

Compression:

Stored size: 1.69 KB

Contents

{% assign fm_anchorClass = layout.anchor_headings.anchorClass | default: page.anchor_headings.anchorClass | default: "" %}

{% capture anchorClass -%}
    {{- include.anchorClass -}}
    {%- if fm_anchorClass -%}
        .{{- fm_anchorClass -}}
    {%- endif -%}
{%- endcapture %}

{% assign beforeHeading = page.anchor_headings.beforeHeading | default: layout.anchor_headings.beforeHeading | default: false %}
{% assign anchorAttrs   = page.anchor_headings.anchorAttrs   | default: layout.anchor_headings.anchorAttrs   | default: '' %}
{% assign anchorBody    = page.anchor_headings.anchorBody    | default: layout.anchor_headings.anchorBody    | default: "#" %}
{% assign anchorTitle   = page.anchor_headings.anchorTitle   | default: layout.anchor_headings.anchorTitle   | default: '' %}
{% assign h_min         = page.anchor_headings.h_min         | default: layout.anchor_headings.h_min         | default: 1 %}
{% assign h_max         = page.anchor_headings.h_max         | default: layout.anchor_headings.h_max         | default: 6 %}
{% assign bodyPrefix    = page.anchor_headings.bodyPrefix    | default: layout.anchor_headings.bodyPrefix    | default: '' %}
{% assign bodySuffix    = page.anchor_headings.bodySuffix    | default: layout.anchor_headings.bodySuffix    | default: '' %}

{% unless page.disable_anchors %}
    {% include jekyll-docs-theme/vendor/anchor_headings.html
         html=content
         beforeHeading=beforeHeading
         anchorAttrs=anchorAttrs
         anchorBody=anchorBody
         anchorClass=anchorClass
         anchorTitle=anchorTitle
         h_min=h_min
         h_max=h_max
         bodyPrefix=bodyPrefix
         bodySuffix=bodySuffix
    %}
{% else %}
    {{ content }}
{% endunless %}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jekyll-docs-theme-1.0.0 _includes/jekyll-docs-theme/anchor_headings.html
jekyll-docs-theme-1.0.0.pre.beta.4 _includes/jekyll-docs-theme/anchor_headings.html
jekyll-docs-theme-1.0.0.pre.beta.3 _includes/jekyll-docs-theme/anchor_headings.html