Files
hugo/layouts/partials/toc.html
T
Bjørn Erik Pedersen 9301947b25 Squashed 'themes/gohugoioTheme/' content from commit 7dd8a302
git-subtree-dir: themes/gohugoioTheme
git-subtree-split: 7dd8a302409a20362e4c610798cc19661b336363
2017-08-10 14:29:32 +02:00

14 lines
564 B
HTML

<!-- TOCs need to be declared explicitly in the front matter of content/*.md -->
<aside class="fixed-lTK mw5-l right-0 f6 bl-l b--moon-gray pv4 pv0-ns ph4-l nested-list-reset nested-links nested-copy-line-height">
{{ if .Params.toc }}
<p class="b">What's on this Page</p>
{{ .TableOfContents }}
{{ end }}
{{- partial "previous-next-links-in-section.html" . -}}
{{- if .Params.godocref -}}
<a target="_blank" class="tooltip right godoc-link" data-tooltip="See the related Godocs for {{.Title }}" href="{{.Params.godocref}}" >
</a>
{{- end -}}
</aside>