Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2018-11-13 17:10:43 +0300
committerXhmikosR <xhmikosr@gmail.com>2018-11-20 12:47:10 +0300
commitb04f97f60be64549a37e0c71d676ab67e70891fa (patch)
tree86005442f323b4d732721647b6766f90ac3e09bb /site/_layouts
parent8470c5f78ce4578ce8c17b06206c23745c655b24 (diff)
Replace anchor.js with jekyll-anchor-headings.
This allows us to generate the anchor links on build time. https://github.com/allejo/jekyll-anchor-headings
Diffstat (limited to 'site/_layouts')
-rw-r--r--site/_layouts/docs.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/_layouts/docs.html b/site/_layouts/docs.html
index 1d2125508e..cb52439b5a 100644
--- a/site/_layouts/docs.html
+++ b/site/_layouts/docs.html
@@ -24,7 +24,7 @@
<h1 class="bd-title" id="content">{{ page.title | smartify }}</h1>
<p class="bd-lead">{{ page.description | smartify }}</p>
{% include ads.html %}
- {{ content }}
+ {% include vendor/anchor_headings.html html=content h_min=2 h_max=5 anchorBody="#" anchorTitle="Permalink" anchorClass="bd-anchor" %}
</main>
</div>
</div>