From 69f764fd41cb833164ddb07c31fd835d70215f1f Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 30 Jul 2022 08:08:15 +0200 Subject: Semantic fixes, show last update before title --- content/notebook/fediverse/i-want-to-be-a-fox.md | 4 ++++ scripts/metadata.lua | 2 ++ templates/layouts/page.html | 8 +++++++- templates/partials/gallery_card.html | 13 ++++--------- templates/partials/grid_card.html | 8 ++++---- templates/partials/list_card.html | 6 +++--- 6 files changed, 24 insertions(+), 17 deletions(-) diff --git a/content/notebook/fediverse/i-want-to-be-a-fox.md b/content/notebook/fediverse/i-want-to-be-a-fox.md index a24035d..a81d67d 100644 --- a/content/notebook/fediverse/i-want-to-be-a-fox.md +++ b/content/notebook/fediverse/i-want-to-be-a-fox.md @@ -28,6 +28,10 @@ As for the recent dragon stuff, I thought about what this character means to me. ##### Update 2022-07-30 +::: alert +I recent post that I feel is relevant here. +::: + I mentioned before that I sometimes have sleepwalking...ish episodes where I partially wake up at night and I'm usually aware of who and where I am, but my mind is still in dream mode which leads to interesting thought processes. For instance, about half a year ago I had 3 or 4 where I thought wasps (closest approximation) were attacking me. I'm sure I posted about them on fedi. It fucking sucked. diff --git a/scripts/metadata.lua b/scripts/metadata.lua index 27854b9..142cb8b 100644 --- a/scripts/metadata.lua +++ b/scripts/metadata.lua @@ -340,6 +340,8 @@ function process(global, meta) meta.date = meta.last_update end + meta.was_updated = meta.date and meta.last_update and meta.date.yyyy_mm_dd ~= meta.last_update.yyyy_mm_dd + meta.list = generate_list(meta) return meta diff --git a/templates/layouts/page.html b/templates/layouts/page.html index b93f45f..3ba8d54 100644 --- a/templates/layouts/page.html +++ b/templates/layouts/page.html @@ -7,11 +7,17 @@ >
$if(date)$ -