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-customized-upe-0.1.1 _includes/toc.html
jekyll-theme-chirpy-customized-upe-0.1.0 _includes/toc.html
jekyll-theme-chirpy-customized-upe-0.0.9 _includes/toc.html
jekyll-theme-chirpy-customized-upe-0.0.8 _includes/toc.html
jekyll-theme-chirpy-customized-upe-0.0.7 _includes/toc.html
jekyll-theme-chirpy-customized-upe-0.0.6 _includes/toc.html
jekyll-theme-chirpy-customized-upe-0.0.5 _includes/toc.html
jekyll-theme-chirpy-customized-upe-0.0.4 _includes/toc.html
jekyll-theme-chirpy-customized-upe-0.0.3 _includes/toc.html
jekyll-theme-chirpy-customized-upe-0.0.2 _includes/toc.html
jekyll-theme-chirpy-customized-upe-0.0.1 _includes/toc.html
jekyll-theme-chirpy-customized-upe-0.0.0 _includes/toc.html
jekyll-theme-chirpy-6.5.0 _includes/toc.html
jekyll-theme-chirpy-6.4.2 _includes/toc.html
jekyll-theme-chirpy-6.4.1 _includes/toc.html
jekyll-theme-chirpy-6.4.0 _includes/toc.html
jekyll-theme-coo-6.4 _includes/toc.html
jekyll-theme-coo-6.3.12 _includes/toc.html
jekyll-theme-coo-6.3.11 _includes/toc.html
jekyll-theme-coo-6.3.10 _includes/toc.html