From 07a755cafb94b7b16cb187234fbcff00e9832000 Mon Sep 17 00:00:00 2001
From: slashformotion
Date: Fri, 30 Jul 2021 21:08:12 +0200
Subject: [PATCH] chores
---
layouts/_default/single.html | 28 +++++++++++----------------
layouts/partials/body.includes.html | 1 -
layouts/partials/comments.html | 0
layouts/partials/disqus.html | 19 ------------------
layouts/partials/footer.html | 1 -
layouts/partials/header.includes.html | 2 --
6 files changed, 11 insertions(+), 40 deletions(-)
delete mode 100644 layouts/partials/body.includes.html
delete mode 100644 layouts/partials/comments.html
delete mode 100644 layouts/partials/disqus.html
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index fda5daa..75a6ccb 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -4,22 +4,16 @@
*/}}
-
-
-{{ partial "header.html" . }}
-
-
+{{ define "main" }}
-
-{{ partial "brand.html" . }}
-{{ partial "content.header.html" . }}
-{{ partial "toc.html" . }}
-
-
- {{ partial "disqus.html" . }}
- {{ partial "footer.html" . }}
-
-
+
+ {{ partial "brand.html" . }}
+ {{ partial "content.header.html" . }}
+ {{ partial "toc.html" . }}
+
+
+ {{ partial "footer.html" . }}
+
+
-
-
+{{ end }}
\ No newline at end of file
diff --git a/layouts/partials/body.includes.html b/layouts/partials/body.includes.html
deleted file mode 100644
index 026abba..0000000
--- a/layouts/partials/body.includes.html
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html
deleted file mode 100644
index e69de29..0000000
diff --git a/layouts/partials/disqus.html b/layouts/partials/disqus.html
deleted file mode 100644
index 64a4a3b..0000000
--- a/layouts/partials/disqus.html
+++ /dev/null
@@ -1,19 +0,0 @@
-{{ if .Params.comments }}
-
-
-
- comments powered by
-{{ end }}
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 1c1b3ee..cedeb7f 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -25,4 +25,3 @@
-{{ partial "body.includes.html" . }}
diff --git a/layouts/partials/header.includes.html b/layouts/partials/header.includes.html
index c0a2025..5059dde 100644
--- a/layouts/partials/header.includes.html
+++ b/layouts/partials/header.includes.html
@@ -3,8 +3,6 @@
{{ partial "math.html" . }}
{{ end }}
-
-