From 1755bd5753a36b60b2f1971c349452aab2b7bccf7b9b8dc2e23c0cc096f38f8e Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Fri, 25 Aug 2023 00:00:00 +0000 Subject: Fix Gemini header spacing --- layouts/_default/baseof.gmi | 1 + layouts/_default/single.gmi | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'layouts') 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" }} -- cgit v1.2.3