diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 9ec206d..18221d4 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -22,6 +22,17 @@ {{ if .Params.Toc }}
+ {{ if or $.Site.Params.TocTitle .Params.Toc }} +

+ {{ if .Params.TocTitle }} + {{ .Params.TocTitle }} + {{ else if $.Site.Params.TocTitle }} + {{ $.Site.Params.TocTitle }} + {{ else }} + Table of Contents + {{ end }} +

+ {{ end }} {{ .TableOfContents }}
{{ end }}