aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/baseof.gmi3
-rw-r--r--layouts/_default/baseof.html2
-rw-r--r--layouts/partials/header.gmi2
-rw-r--r--layouts/partials/header.html2
4 files changed, 5 insertions, 4 deletions
diff --git a/layouts/_default/baseof.gmi b/layouts/_default/baseof.gmi
index 3ef51c1..d866a14 100644
--- a/layouts/_default/baseof.gmi
+++ b/layouts/_default/baseof.gmi
@@ -1,4 +1,5 @@
{{ partial "header.gmi" . }}
+
{{ block "main" . }}{{ end }}
-{{ partial "footer.gmi" . -}}
+{{ partial "footer.gmi" . -}} \ No newline at end of file
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index ace076a..c896b31 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -6,4 +6,4 @@
{{ block "main" . }}{{ end }}
{{ partial "footer.html" . }}
</body>
-</html>
+</html> \ No newline at end of file
diff --git a/layouts/partials/header.gmi b/layouts/partials/header.gmi
index 3dafe9b..40e7a3a 100644
--- a/layouts/partials/header.gmi
+++ b/layouts/partials/header.gmi
@@ -1,3 +1,3 @@
```nicksphere logo
{{ readFile "/content/templates/logo" | safeHTML }}
-```
+``` \ No newline at end of file
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index ef3f99d..36b23ad 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,3 +1,3 @@
<header>
<pre id="logo">{{ readFile "/content/templates/logo" }}</pre>
-</header>
+</header> \ No newline at end of file