diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 9faf6e6..ff49214 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -28,7 +28,7 @@ {{- partial "image" (dict "file" $p.featureImage "alt" $p.featureImageAlt "cap" $p.featureImageCap "type" "featured" "Page" $.Page) }} {{- end -}} - {{ if and (gt .WordCount 400 ) (gt (len .TableOfContents) 180) ($p.toc) }} + {{ if and (gt .WordCount 400 ) (gt (len .TableOfContents) 180) ($s.toc) }}