Sha256: 462e29c35f133ac12718ba3d720cb95f01ac9be06edb5c4dccada0bce398e7b8

Contents?: true

Size: 412 Bytes

Versions: 44

Compression:

Stored size: 412 Bytes

Contents

{% assign enable_toc = false %}
{% if site.toc and page.toc %}
  {% if page.content contains '<h2' or page.content contains '<h3' %}
    {% assign enable_toc = true %}
  {% endif %}
{% endif %}

{% if enable_toc %}
  <section id="toc-wrapper" class="ps-0 pe-4">
    <h2 class="panel-heading ps-3 pt-2 mb-2">{{- site.data.locales[include.lang].panel.toc -}}</h2>
    <nav id="toc"></nav>
  </section>
{% endif %}

Version data entries

44 entries across 44 versions & 4 rubygems

Version Path
jekyll-theme-chirpy-6.5.5 _includes/toc.html
jekyll-theme-chirpy-customized-upe-4.0.0 _includes/toc.html
jekyll-theme-chirpy-customized-upe-4.0.0.pre.beta2 _includes/toc.html
doc-theme-0.1.0 _includes/toc.html
jekyll-theme-chirpy-6.5.3 _includes/toc.html
jekyll-theme-chirpy-6.5.2 _includes/toc.html
jekyll-theme-chirpy-customized-upe-3.2.0 _includes/toc.html
jekyll-theme-chirpy-customized-upe-3.2.0.pre.beta3 _includes/toc.html
jekyll-theme-chirpy-customized-upe-3.2.0.pre.beta2 _includes/toc.html
jekyll-theme-chirpy-customized-upe-3.2.0.pre.beta1 _includes/toc.html
jekyll-theme-chirpy-customized-upe-3.1.4 _includes/toc.html
jekyll-theme-chirpy-customized-upe-3.1.2 _includes/toc.html
jekyll-theme-chirpy-customized-upe-3.1.1 _includes/toc.html
jekyll-theme-chirpy-customized-upe-3.1.0 _includes/toc.html
jekyll-theme-chirpy-customized-upe-3.0.1 _includes/toc.html
jekyll-theme-chirpy-customized-upe-3.0.0 _includes/toc.html
jekyll-theme-chirpy-customized-upe-1.0.2 _includes/toc.html
jekyll-theme-chirpy-customized-upe-1.0.1 _includes/toc.html
jekyll-theme-chirpy-customized-upe-1.0.0 _includes/toc.html
jekyll-theme-chirpy-customized-upe-0.1.2 _includes/toc.html