Gemini: Fix whitespace on homepage

This commit is contained in:
JP Hastings-Spital 2024-04-30 23:39:03 +01:00
parent 68c939762e
commit 8767a7bc9b
3 changed files with 10 additions and 10 deletions

View file

@ -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)

View file

@ -1,6 +1,6 @@
<div class="about-me" data-pagefind-body>
<div class="h-card vcard no-emoji">
<a href="https://byjp.me" rel="me" class="u-uid u-url"><img class="profile u-photo" src="profile-512.jpg" height="64" alt="A photo of me smiling, with short brown hair, a beard and glasses." /></a>
<span class="p-note">Hello! I'm <em class="p-name fn always-accented"><span class="p-nickname">JP</span> <span class="p-family-name">Hastings-Spital</span></em>, a <span class="p-category category">maker</span>, <span class="p-category category">software engineer</span>, <span class="p-category category">swing dancer</span>, and all-round <span class="p-category category">miriscient chap</span> living in <span class="adr p-adr h-adr"><span class="p-locality locality">London</span>, <span class="p-country-name country-name">UK</span></span>. <span class="h-card no-emoji">Until recently I was <span clas="p-job-title">principal engineer</a> at <span class="p-org" rel="noopener">Deliveroo</span></span>, I'm now enjoying a career break until after my wedding in July.</span>
</div>
</div>
<div class="about-me" data-pagefind-body>{{- "" -}}
<div class="h-card vcard no-emoji">{{- "" -}}
<a href="https://byjp.me" rel="me" class="u-uid u-url"><img class="profile u-photo" src="profile-512.jpg" height="64" alt="A photo of me smiling, with short brown hair, a beard and glasses." /></a>{{- "" -}}
<span class="p-note">Hello! I'm <em class="p-name fn always-accented"><span class="p-nickname">JP</span> <span class="p-family-name">Hastings-Spital</span></em>, a <span class="p-category category">maker</span>, <span class="p-category category">software engineer</span>, <span class="p-category category">swing dancer</span>, and all-round <span class="p-category category">miriscient chap</span> living in <span class="adr p-adr h-adr"><span class="p-locality locality">London</span>, <span class="p-country-name country-name">UK</span></span>. <span class="h-card no-emoji">Until recently I was <span clas="p-job-title">principal engineer</a> at <span class="p-org" rel="noopener">Deliveroo</span></span>, I'm now enjoying a career break until after my wedding in July.</span>{{- "" -}}
</div>{{- "" -}}
</div>{{- "" -}}

View file

@ -1,3 +1,3 @@
<p class="intro">
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.
</p>
<p class="intro">{{- "" -}}
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.{{- "" -}}
</p>{{- "" -}}