clean up capture templates

This commit is contained in:
Karen Bradshaw
2020-06-01 09:40:41 -04:00
parent 4b35d4d401
commit 59dbf9d693
9 changed files with 1 additions and 103 deletions
+1 -5
View File
@@ -8,11 +8,7 @@
{{ if not .page.Params.notitle }}
<h1>{{ .page.Title }}</h1>
{{ end }}
{{ with .page.Params.content_template }}
{{ partial . $ }}
{{ else }}
{{ if and (not .page.Params.toc_hide) (not (.page.HasShortcode "toc")) }}
{{ .page.TableOfContents }}
{{ end }}
{{ .page.Content }}
{{ end }}
{{ .page.Content }}