summaryrefslogtreecommitdiff
path: root/layouts/_partials/posts
diff options
context:
space:
mode:
authoreltrac <hi@eltr.ac>2026-04-02 22:36:52 +0800
committereltrac <hi@eltr.ac>2026-04-02 22:36:52 +0800
commit8c95347d99b7f8f2c2259b51fb5d13eb7bcf46f2 (patch)
tree12f4bad848c12272e299d816ac91a76851eb22fb /layouts/_partials/posts
parent20014708cef7ca80b5a78654992b035010faa680 (diff)
perf: shorten webmention cache duration since --ignoreCache was used during build
Diffstat (limited to 'layouts/_partials/posts')
-rw-r--r--layouts/_partials/posts/webmention.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_partials/posts/webmention.html b/layouts/_partials/posts/webmention.html
index d93521fa..95e40f29 100644
--- a/layouts/_partials/posts/webmention.html
+++ b/layouts/_partials/posts/webmention.html
@@ -2,7 +2,7 @@
{{ $currentPagePath := .RelPermalink }}
{{ $webmentions_url := .Site.Params.webmention.src }}
-{{ $cacheKey := print $webmentions_url (now.Format "2006-01-02-1504") }}
+{{ $cacheKey := print $webmentions_url (now.Format "2006-01-02") }}
{{ $opts := dict "key" $cacheKey }}
{{ with try (resources.GetRemote $webmentions_url $opts) }}