diff --git a/content/now/index.md b/content/now/index.md index c02594f3..fbbe89ba 100644 --- a/content/now/index.md +++ b/content/now/index.md @@ -18,7 +18,7 @@ sitemap: {{< emoji "πŸ’" >}}The biggest news from that trip was [Yvette proposing to me](https://adventure.awaits.us/a-patagonian-love-story/) at the top of the Torres del Paine mountains β€” I'm so excited to be marrying her, even if the wedding planning is triply complex because of our mixed nationalities! -{{< figure src="engaged.webp" alt="A photo of Yvette and I grinning at the camera, with the engagement compass Yvette just gave JP" >}} +{{< figure src="./engaged.webp" alt="A photo of Yvette and I grinning at the camera, with the engagement compass Yvette just gave JP" >}} {{< emoji "😒" >}}The second biggest news from that trip was my Mum discovering she has a terminal cancer. I'm struggling with this a fair amount at the moment, but I have a superlative support network, and Deliveroo embracing my choice to move to a 4-day work week to spend more time with her has been wonderful. I'm (clearly) being quite open about this, but I'd appreciate your efforts in finding quieter times if you'd like to talk to me about this; I hope it's easy to understand how this topic can emotionally blind-side me! diff --git a/content/pagefind.yaml b/content/pagefind.yaml new file mode 100644 index 00000000..0e83c8d9 --- /dev/null +++ b/content/pagefind.yaml @@ -0,0 +1,3 @@ +source: public +# Don't use _pagefind as Github Pages will ignore it +bundle_dir: search diff --git a/content/posts/tumblr-musings/where-on-the-web/index.md b/content/posts/tumblr-musings/where-on-the-web/index.md index a0fe3d37..9c21e217 100644 --- a/content/posts/tumblr-musings/where-on-the-web/index.md +++ b/content/posts/tumblr-musings/where-on-the-web/index.md @@ -15,7 +15,7 @@ tags: - from-tumblr --- -![A terrain map of the earth over the Atlantic, showing red dots moving between the UK and other places on earth](./where-on-the-web.jpg) +{{< figure src="where-on-the-web.jpg" alt="A terrain map of the earth over the Atlantic, showing red dots moving between the UK and other places on earth" >}} Where On The Web is aliiiiive! diff --git a/content/search.md b/content/search.md new file mode 100644 index 00000000..75e0835e --- /dev/null +++ b/content/search.md @@ -0,0 +1,23 @@ +--- +title: Search +emoji: πŸ•΅οΈβ€β™‚οΈ +type: site-infra +_build: + list: never +--- + +I quite enjoy this site _not_ having search, as it means I (and others!) need to explore it to find what's there. Having said that, I do find myself in need of finding something I _know_ is there, but which I can't put my finger on… + +Sigh, it's time for search; but I'm sneaking this away where it's not too visible, so you'll have to have previously found this to know you can put `/search` into your browser to use it πŸ˜‰ + + + + + diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 75e70756..94027c0a 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,7 +1,7 @@ {{ define "main" }} {{ $paginator := .Paginate .Data.Pages }} -
+
{{ partial "generic-list-header.html" . }}

@@ -10,7 +10,7 @@

{{ if .Content }} -
{{ .Content }}
+
{{ .Content }}
{{ end }} {{ range $paginator.Pages.GroupByDate "2006" }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index a771e775..4b36b68b 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -83,7 +83,7 @@ {{ end }} -
+
{{ .Content }}
diff --git a/layouts/memex/list.html b/layouts/memex/list.html index eeeacb5e..ce6ea80a 100644 --- a/layouts/memex/list.html +++ b/layouts/memex/list.html @@ -16,7 +16,7 @@ {{ end }} {{ if .Content }} -
{{ .Content }}
+
{{ .Content }}
{{ end }} diff --git a/layouts/shortcodes/figure.html b/layouts/shortcodes/figure.html index d6b1712a..70478ae0 100644 --- a/layouts/shortcodes/figure.html +++ b/layouts/shortcodes/figure.html @@ -2,7 +2,7 @@ {{- if .Get "link" -}} {{- end }} - {{ with .Get Click to show this spoiler Hide spoiler -

{{ .Inner | markdownify }}

+

{{ .Inner | markdownify }}

{{ .Page.Store.Set "hasSpoilers" true }}