From c12753c069d359fa3c8c75200e467b25c4d3cf2c Mon Sep 17 00:00:00 2001 From: Ryan Gibson Date: Thu, 8 Aug 2024 23:02:30 -0400 Subject: [PATCH] Consistently include js/page.js in relevant statement scopes --- layouts/_default/list.html | 2 +- layouts/_default/single.html | 2 +- layouts/_default/taxonomy.html | 3 +-- layouts/_default/term.html | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 9720468e..7cc92388 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -30,10 +30,10 @@ var oid = "views_{{ $path }}" var oid_likes = "likes_{{ $path }}" - {{ end }} {{ $jsPage := resources.Get "js/page.js" }} {{ $jsPage = $jsPage | resources.Minify | resources.Fingerprint "sha512" }} + {{ end }}
- {{ end }} {{ $jsPage := resources.Get "js/page.js" }} {{ $jsPage = $jsPage | resources.Minify | resources.Fingerprint "sha512" }} + {{ end }}