Sha256: ab7994f2e091cceb9ce2ffa2ff481a1b7ecf5b83161365b722bfb54cb779a8df

Contents?: true

Size: 812 Bytes

Versions: 2

Compression:

Stored size: 812 Bytes

Contents

{%- unless page.toc == false %}
<script>
  $(document).ready(function () {
    $('#toc-contents').toc({ minimumHeaders: {{site.theme_variables.toc.min_headers | default: 2 }}, listType: 'ul', classes: { list: 'list-unstyled' }, noBackToTopLinks: true, showSpeed: 0, headers: '{{site.theme_variables.toc.headers | default: 'main h2' }}' , title: '<strong class="my-2">On this page</strong><hr class="my-2">' });
  });
</script>
<button id="btn-toc-hide" class="btn bg-light d-xl-none hover-primary mb-3" type="button" data-bs-toggle="collapse" data-bs-target="#toc-contents" aria-expanded="true" aria-controls="toc-contents">
  <i class="fa-solid fa-up-right-and-down-left-from-center me-2"></i>On this page
</button>
<nav id="toc-contents" class="collapse" aria-label="Table of contents"></nav>
{%- endunless %}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
elixir-toolkit-theme-2.2.2 _includes/toc.html
elixir-toolkit-theme-2.2.1 _includes/toc.html