summaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/section.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/section.html b/layouts/section.html
index 4de7628..8b938f3 100644
--- a/layouts/section.html
+++ b/layouts/section.html
@@ -24,6 +24,7 @@
</div>
{{ if eq .Type "articles" }}
- <script defer src="{{ resources.Get "js/filters.js" | fingerprint | .RelPermalink }}"></script>
+ {{ $filters := resources.Get "js/filters.js" | fingerprint }}
+ <script defer src="{{ $filters.RelPermalink }}"></script>
{{ end }}
{{ end }}