summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreltrac <hi@eltr.ac>2026-04-06 09:59:11 +0800
committereltrac <hi@eltr.ac>2026-04-06 09:59:11 +0800
commit5418e73402fe87d121a71d9e689478688493d522 (patch)
treebecb546814145136bed9796d776db1b54e8afc98
parent5733d32b8c10dedb57ae91e8aca343079b24fd6a (diff)
perf: remove cachekey since --ignoreCache was used during build anyway
-rw-r--r--layouts/_partials/posts/webmention.html5
1 files changed, 1 insertions, 4 deletions
diff --git a/layouts/_partials/posts/webmention.html b/layouts/_partials/posts/webmention.html
index 95e40f29..77b89f25 100644
--- a/layouts/_partials/posts/webmention.html
+++ b/layouts/_partials/posts/webmention.html
@@ -2,10 +2,7 @@
{{ $currentPagePath := .RelPermalink }}
{{ $webmentions_url := .Site.Params.webmention.src }}
-{{ $cacheKey := print $webmentions_url (now.Format "2006-01-02") }}
-{{ $opts := dict "key" $cacheKey }}
-
-{{ with try (resources.GetRemote $webmentions_url $opts) }}
+{{ with try (resources.GetRemote $webmentions_url) }}
{{ with .Err }}
{{ errorf "%s" . }}