From 41006c33e1d3fd3c9d943ef39b80e8d934d04f83 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Mon, 20 Jul 2020 20:53:08 +0530 Subject: [PATCH] assets: add fingerprint, integrity --- layouts/_default/baseof.html | 4 ++-- layouts/partials/head.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index e243b575..3841d219 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -23,8 +23,8 @@ - {{ $highlight := resources.Get "highlight.min.js" | minify }} - + {{ $highlight := resources.Get "highlight.min.js" | minify | fingerprint}} + diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 4b03bd03..55042bc9 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -14,8 +14,8 @@ {{ $anoldhope := resources.Get "an-old-hope.min.css" | minify }} {{ $style := resources.Get "style.css" | minify }} -{{ $stylesheet := slice $anoldhope $style | resources.Concat "stylesheet.css" | minify }} - +{{ $stylesheet := slice $anoldhope $style | resources.Concat "stylesheet.css" | minify | fingerprint }} +