mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

budparr
09.41.2018 1b62e7bf1b9b48c69cc5a4bd036838dd58a88545
Add comment on using TOC

Ref #42
1 files modified
5 ■■■■■ changed files
layouts/partials/menu-contextual.html 5 ●●●●● patch | view | raw | blame | history
layouts/partials/menu-contextual.html
@@ -1,3 +1,8 @@
{{/*
  Use Hugo's native Table of contents feature. You must set `toc: true` in your parameters for this to show.
  https://gohugo.io/content-management/toc/
*/}}
{{- if .Params.toc -}}
  <div class="bg-light-gray pa3 nested-list-reset nested-copy-line-height nested-links">
    <p class="f5 b mb3">What's in this {{ humanize .Type }}</p>