From 76c251066fd34a26734bf1acdb1e041881e1c0af Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Sun, 25 Nov 2018 13:30:25 +0100 Subject: Refactor templates and partials --- layouts/docs/list.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'layouts/docs/list.html') diff --git a/layouts/docs/list.html b/layouts/docs/list.html index a54943b..ee001c9 100644 --- a/layouts/docs/list.html +++ b/layouts/docs/list.html @@ -1 +1,9 @@ -{{ define "." }} {{ end }} \ No newline at end of file +{{ define "main" }} +
+ {{- .Content -}} +
+{{ end }} + +{{ define "toc" }} + {{ partial "docs/toc" . }} +{{ end }} -- cgit v1.2.3