aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/baseof.gmi1
-rw-r--r--layouts/_default/single.gmi2
2 files changed, 2 insertions, 1 deletions
diff --git a/layouts/_default/baseof.gmi b/layouts/_default/baseof.gmi
index 8beabc1..b67ebaa 100644
--- a/layouts/_default/baseof.gmi
+++ b/layouts/_default/baseof.gmi
@@ -1,5 +1,6 @@
{{ partial "header.gmi" . }}
+
{{ block "main" . }}{{ end -}}
{{ if $.Site.Copyright }}
diff --git a/layouts/_default/single.gmi b/layouts/_default/single.gmi
index cc98bc6..605fa96 100644
--- a/layouts/_default/single.gmi
+++ b/layouts/_default/single.gmi
@@ -1,4 +1,4 @@
-{{ define "main" }}
+{{ define "main" -}}
{{ $emoji := cond (.Page.Params.showlinkemoji | default true) (emojify ":link: ") "" -}}
=> {{ .Site.Home.RelPermalink | replaceRE `(?m)index.gmi$` "" }} {{ emojify ":link:" | safeHTML }} {{ i18n "returnHome" }}