diff options
| author | eltrac <hi@eltr.ac> | 2026-04-06 09:59:11 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-04-06 09:59:11 +0800 |
| commit | 5418e73402fe87d121a71d9e689478688493d522 (patch) | |
| tree | becb546814145136bed9796d776db1b54e8afc98 | |
| parent | 5733d32b8c10dedb57ae91e8aca343079b24fd6a (diff) | |
perf: remove cachekey since --ignoreCache was used during build anyway
| -rw-r--r-- | layouts/_partials/posts/webmention.html | 5 |
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" . }} |
