aboutsummaryrefslogblamecommitdiff
path: root/themes/hugo-theme-stack/layouts/partials/widget/toc.html
blob: e311de3433f94f295094b2a1c907236f08444d93 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                                     
{{ if (.Context.Scratch.Get "TOCEnabled") }}
    <section class="widget archives">
        <div class="widget-icon">
            {{ partial "helper/icon" "hash" }}
        </div>
        <h2 class="widget-title section-title">{{ T "article.tableOfContents" }}</h2>
        
        <div class="widget--toc">
            {{ .Context.TableOfContents }}
        </div>
    </section>
{{ end }}