From 8767a7bc9b429242c66d7442cddbdb9347b85088 Mon Sep 17 00:00:00 2001 From: JP Hastings-Spital Date: Tue, 30 Apr 2024 23:39:03 +0100 Subject: [PATCH] Gemini: Fix whitespace on homepage --- layouts/index.gmi | 2 +- layouts/partials/about-me.html | 12 ++++++------ layouts/partials/intro.html | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/layouts/index.gmi b/layouts/index.gmi index 6a04bc7d..07966dcb 100644 --- a/layouts/index.gmi +++ b/layouts/index.gmi @@ -10,7 +10,7 @@ Some of my recent (and more substantial) writing. {{ $posts := where .Site.RegularPages "Section" "in" (slice "posts" "bookmarks" "poetry") -}} {{- range ($posts.ByPublishDate.Reverse | first 6) }} -=> {{.RelPermalink}} {{ with .Params.emoji }}{{.}} {{end}}{{- with .Title -}}{{ . }}{{ else }}{{ .Type | singularize | title }}{{ end -}} +=> {{.RelPermalink}} {{ with .Params.emoji }}{{.}}{{ else }}🔗{{end}} {{ with .Title -}}{{ . }}{{ else }}{{ .Type | singularize | title }}{{ end -}} {{- end }} => /posts/ 📔 More posts (my longer articles) diff --git a/layouts/partials/about-me.html b/layouts/partials/about-me.html index 9c8ca4ee..6f552d64 100644 --- a/layouts/partials/about-me.html +++ b/layouts/partials/about-me.html @@ -1,6 +1,6 @@ -
-
- A photo of me smiling, with short brown hair, a beard and glasses. - Hello! I'm JP Hastings-Spital, a maker, software engineer, swing dancer, and all-round miriscient chap living in London, UK. Until recently I was principal engineer at Deliveroo, I'm now enjoying a career break until after my wedding in July. -
-
+
{{- "" -}} +
{{- "" -}} + A photo of me smiling, with short brown hair, a beard and glasses.{{- "" -}} + Hello! I'm JP Hastings-Spital, a maker, software engineer, swing dancer, and all-round miriscient chap living in London, UK. Until recently I was principal engineer at Deliveroo, I'm now enjoying a career break until after my wedding in July.{{- "" -}} +
{{- "" -}} +
{{- "" -}} diff --git a/layouts/partials/intro.html b/layouts/partials/intro.html index bc2e275e..cf85dec0 100644 --- a/layouts/partials/intro.html +++ b/layouts/partials/intro.html @@ -1,3 +1,3 @@ -

- This space is a much loved wild garden; things aren't perfectly organised, there are lots of nooks and crannies to explore. Follow your nose and see where you end up. -

\ No newline at end of file +

{{- "" -}} + This space is a much loved wild garden; things aren't perfectly organised, there are lots of nooks and crannies to explore. Follow your nose and see where you end up.{{- "" -}} +

{{- "" -}}