From 5d6873e9920ceb88f574a8be53a5cc996a27b753 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Sun, 22 Sep 2019 13:15:22 +0200 Subject: #73, Enable TOC and git footer for posts --- layouts/posts/single.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'layouts/posts/single.html') diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 9222a59..61c2130 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -10,3 +10,7 @@ {{- .Content -}} {{ end }} + +{{ define "toc" }} + {{ partial "docs/toc" . }} +{{ end }} -- cgit v1.2.3