From 42090c923e20047a81183c31028f03a45f53f544 Mon Sep 17 00:00:00 2001 From: JP Hastings-Spital Date: Wed, 6 Mar 2024 21:38:01 +0000 Subject: [PATCH] Add opensearch --- layouts/partials/head.html | 14 ++++++++------ static/opensearch.xml | 8 ++++++++ 2 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 static/opensearch.xml diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 908d6eb7..8cf4f823 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,14 +1,16 @@ - - - + + + - - + + {{- $modified := .Lastmod -}} {{- if .IsHome }}{{ with getenv "HUGO_LAST_UPDATE_TIME" }}{{ $modified = time . }}{{ end }}{{ end -}} - + + + {{/* IndieWeb */}} diff --git a/static/opensearch.xml b/static/opensearch.xml new file mode 100644 index 00000000..6aab0fe7 --- /dev/null +++ b/static/opensearch.xml @@ -0,0 +1,8 @@ + + byJP + [Search engine full name and summary] + UTF-8 + /favicon.ico + /favicon-32x32.png + +