diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-12-02 20:38:55 -0800 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-12-03 02:31:51 -0800 |
| commit | 21b8736c80ebb98cf936388f5789f6d9d1590b59 (patch) | |
| tree | 2a871f110bf2e51790c9a72080928f64eec902d7 /indieweb-micro/themes/MinIndie/layouts/shortcodes/follow.html | |
| parent | 98ddc6edd51bc961ef8dbeb9852fdbb3978f23ce (diff) | |
fix: micro posts imprecise dt-published values
Diffstat (limited to 'indieweb-micro/themes/MinIndie/layouts/shortcodes/follow.html')
| -rw-r--r-- | indieweb-micro/themes/MinIndie/layouts/shortcodes/follow.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/indieweb-micro/themes/MinIndie/layouts/shortcodes/follow.html b/indieweb-micro/themes/MinIndie/layouts/shortcodes/follow.html new file mode 100644 index 0000000..27a1bdd --- /dev/null +++ b/indieweb-micro/themes/MinIndie/layouts/shortcodes/follow.html @@ -0,0 +1,12 @@ +{{ $url := .Get 0 }} +{{ $date := .Get 1 }} + +<div class="follow-card h-entry"> + <a class="follow-target u-follow-of" href="{{ $url }}"> + {{ $url }} + </a> + + <time class="follow-date dt-published" datetime="{{ $date }}T00:00:00Z"> + {{ $date }} + </time> +</div> |
