From 874414229e7f7f66d498db34bded55bd56016e01 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Wed, 1 Jun 2022 10:04:35 -0700 Subject: [PATCH] Metadata amendments - Re-order rel for my homepage's representative h-crad - Fix the aria-current for the homepage - Microdata: remove unnecessary "sameAs" - Reduce "update without adding date updated" timeout to 15min - Add u-uid and rel=me to my h-card on every page. --- content/_index.md | 2 +- layouts/partials/header.html | 8 ++------ layouts/partials/post-meta.html | 2 +- layouts/shortcodes/indieweb-author.html | 2 +- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/content/_index.md b/content/_index.md index 52da623..dfb4765 100644 --- a/content/_index.md +++ b/content/_index.md @@ -13,7 +13,7 @@ sitemap: Seirdy’s Home ============= -I'm , a.k.a. Seirdy (online handle). +I'm , a.k.a. Seirdy (online handle). Other versions of this website ------------------------------ diff --git a/layouts/partials/header.html b/layouts/partials/header.html index eec9cda..997d539 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -4,15 +4,11 @@ {{- $currentPage := . -}} {{- $canonicalRelPermalink := $currentPage.RelPermalink | replaceRE "^/~seirdy/" "/" }} {{- $isHome := false -}} - {{- if eq $currentPage.RelPermalink "/" -}} + {{- if eq $canonicalRelPermalink "/" -}} {{- $isHome = true -}} {{- end }}
  • Website{{- with .OutputFormats.Get "gemtext" -}}{{- printf " " -}}and Gemini capsule{{- end -}}. - {{ if gt (sub .Lastmod.Unix .Date.Unix) 3600 -}} + {{ if gt (sub .Lastmod.Unix .Date.Unix) 900 -}}
    Last updated . Changelog. {{- end }} diff --git a/layouts/shortcodes/indieweb-author.html b/layouts/shortcodes/indieweb-author.html index 7d1c998..de2e0c3 100644 --- a/layouts/shortcodes/indieweb-author.html +++ b/layouts/shortcodes/indieweb-author.html @@ -24,7 +24,7 @@ (btw this is all made of cuz it is supposed to be inline) --> -