summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-07-20 20:32:07 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-07-20 20:32:07 +0530
commit8a0783adfb8399cbde4b42782dfc182d9bf54aed (patch)
treee2d844c2aaa5dae32f6759d9263125935e764647 /layouts/_default/single.html
parent2e0ef75edf86bd6b350f153b3791e2a453b1e95e (diff)
new layout
- create baseof - separate list, single - header, footer
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 0897600..842fa31 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,4 +1,4 @@
-{{- partial "header.html" . }}
+{{ define "main" }}
<article class="post-single">
<header class="post-header">
@@ -26,4 +26,4 @@
{{- end }}
</article>
-{{- partial "footer.html" . }} \ No newline at end of file
+{{ end }}{{/* end main */}} \ No newline at end of file