Add comment on using TOC

Ref #42
This commit is contained in:
budparr 2018-04-09 11:41:12 -04:00
parent c0adbe2422
commit 1b62e7bf1b
No known key found for this signature in database
GPG Key ID: 05AB7813F9C39728

View File

@ -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 -}} {{- if .Params.toc -}}
<div class="bg-light-gray pa3 nested-list-reset nested-copy-line-height nested-links"> <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> <p class="f5 b mb3">What's in this {{ humanize .Type }}</p>