From 6f7b8a114d998778a2cf7772a29feb3bff6cba81 Mon Sep 17 00:00:00 2001
From: Alan Pearce
Date: Sun, 17 Jun 2018 19:39:43 +0200
Subject: Tweak whitespace
---
layouts/_default/baseof.html | 8 +++---
layouts/_default/list.html | 20 ++++++-------
layouts/_default/single.html | 68 +++++++++++++++++++++-----------------------
3 files changed, 47 insertions(+), 49 deletions(-)
(limited to 'layouts/_default')
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 0c87c3f..8b6c324 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,9 +1,9 @@
{{ partial "head.html" . }}
- {{ partial "sidebar.html" . }}
-
- {{ block "main" . -}}{{- end }}
-
+{{ partial "sidebar.html" . }}
+
+{{ block "main" . -}}{{- end }}
+
{{ template "_internal/google_analytics_async.html" . }}
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index cae4c08..5b51eba 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,11 +1,11 @@
-{{ define "main" -}}
-{{ .Title }}
-
-{{ range .Data.Pages -}}
- -
- {{ .Title }}
-
-
-{{- end }}
-
+{{ define "main" }}
+ {{ .Title }}
+
+ {{ range .Data.Pages -}}
+ -
+ {{ .Title }}
+
+
+ {{ end -}}
+
{{- end }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index fb048a2..d5d1774 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,37 +1,35 @@
{{ define "main" -}}
-
-
-
- {{ .Content }}
-
-
-
-
-{{ if .Site.DisqusShortname -}}
-Comments
-{{ template "_internal/disqus.html" . }}
-{{- end }}
+
+
+
+ {{ .Content }}
+
+
+
+ {{- if .Site.DisqusShortname }}
+ Comments
+ {{ template "_internal/disqus.html" . }}
+ {{- end }}
{{- end }}
--
cgit 1.4.1