From 2060a81f1ace19dcb55434ccab74793af76e3874 Mon Sep 17 00:00:00 2001 From: Balakrishnan Balasubramanian Date: Mon, 19 May 2025 23:26:11 -0400 Subject: [PATCH] use alias for minify and fingerprint --- layouts/_default/baseof.html | 4 ++-- layouts/_shortcodes/asciinema.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 83acf28..db86585 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -10,7 +10,7 @@ {{ if .Params.asciinema }} - {{ with resources.Get "vendor/asciinema/asciinema-player.css" | resources.Minify | resources.Fingerprint }} + {{ with resources.Get "vendor/asciinema/asciinema-player.css" | minify | fingerprint }} {{ end }} {{ end }} @@ -21,7 +21,7 @@ {{- if .Site.Params.ThemeStyleSwitcher }} - {{ with resources.Get "js/theme-switcher.js" | resources.Minify | resources.Fingerprint }} + {{ with resources.Get "js/theme-switcher.js" | minify | fingerprint }} {{ end }} {{- end }} diff --git a/layouts/_shortcodes/asciinema.html b/layouts/_shortcodes/asciinema.html index ce7a487..1f0267a 100644 --- a/layouts/_shortcodes/asciinema.html +++ b/layouts/_shortcodes/asciinema.html @@ -1,5 +1,5 @@
-{{ with resources.Get "vendor/asciinema/asciinema-player.min.js" | resources.Fingerprint }} +{{ with resources.Get "vendor/asciinema/asciinema-player.min.js" | fingerprint }} {{ end }}