Skip to content
Snippets Groups Projects
Verified Commit 99106572 authored by Marco Aceti's avatar Marco Aceti
Browse files

Add ToC plugin

parent 0f86c821
No related branches found
No related tags found
No related merge requests found
Pipeline #1345 passed
......@@ -7,3 +7,5 @@ source "https://rubygems.org"
gem "jekyll", "~> 4.2"
gem "webrick", "~> 1.7"
gem "jekyll-toc"
......@@ -31,6 +31,9 @@ GEM
terminal-table (~> 2.0)
jekyll-sass-converter (2.2.0)
sassc (> 2.0.1, < 3.0)
jekyll-toc (0.17.1)
jekyll (>= 3.9)
nokogiri (~> 1.11)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.4.0)
......@@ -42,9 +45,12 @@ GEM
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
nokogiri (1.13.8-x86_64-linux)
racc (~> 1.4)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.0.0)
racc (1.6.0)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
......@@ -63,6 +69,7 @@ PLATFORMS
DEPENDENCIES
jekyll (~> 4.2)
jekyll-toc
webrick (~> 1.7)
BUNDLED WITH
......
......@@ -19,3 +19,6 @@ permalink: /:year/:title
# Build settings
markdown: kramdown
exclude: ["README.md"]
plugins:
- jekyll-toc
......@@ -9,7 +9,7 @@ layout: default
</header>
<div class="post-content" itemprop="articleBody">
{{ content }}
{{ content | toc }}
</div>
</article>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment