From 2cfeddd43041db5afd890b6e037a2983d0da1fbb Mon Sep 17 00:00:00 2001 From: Patrick Neff Date: Tue, 8 Jan 2019 01:06:41 +0100 Subject: [PATCH] git commit -am "Remove resource fingerprinting" --- themes/neff/layouts/partials/head.html | 5 ++--- themes/neff/layouts/partials/scripts.html | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/themes/neff/layouts/partials/head.html b/themes/neff/layouts/partials/head.html index 7402b33..22c420d 100755 --- a/themes/neff/layouts/partials/head.html +++ b/themes/neff/layouts/partials/head.html @@ -11,6 +11,5 @@ {{- if .Site.IsServer -}} {{- $options := (dict "targetPath" "css/style.css" "enableSourceMap" true) -}} {{- end -}} -{{- $options := (dict "targetPath" "css/style.css" "outputStyle" "compressed" "enableSourceMap" true) -}} -{{- $sass := resources.Get "scss/main.scss" | resources.ToCSS $options | resources.PostCSS | resources.Fingerprint "sha512" -}} - +{{- $sass := resources.Get "scss/main.scss" | resources.ToCSS $options | resources.PostCSS -}} + diff --git a/themes/neff/layouts/partials/scripts.html b/themes/neff/layouts/partials/scripts.html index 5e7a440..5977f73 100644 --- a/themes/neff/layouts/partials/scripts.html +++ b/themes/neff/layouts/partials/scripts.html @@ -1,3 +1,2 @@ {{- $js := resources.Get "js/bundle.js" -}} -{{- $js = $js | resources.Fingerprint "sha512" -}} - +