From cd6644ea4ddc78597934ab0ef5ba50e3c3daa927 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sat, 8 Jul 2023 23:25:41 +0200 Subject: Moved to a simpler SSG --- public/cachebusting-in-hugo.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 public/cachebusting-in-hugo.html (limited to 'public/cachebusting-in-hugo.html') diff --git a/public/cachebusting-in-hugo.html b/public/cachebusting-in-hugo.html new file mode 100755 index 0000000..c20da58 --- /dev/null +++ b/public/cachebusting-in-hugo.html @@ -0,0 +1,15 @@ +Cache busting in Hugo

Cache busting in Hugo

May 1, 2023

{{ $cachebuster := delimit (shuffle (split (md5 "6fab11c6669976d759d2992eff1dd5be") "" )) "" }}
+
+<link rel="stylesheet" href="/style.css?v={{ $cachebuster }}">
+

This 6fab11c6669976d759d2992eff1dd5be can be random string you generate use. +You can use whatever you want.

\ No newline at end of file -- cgit v1.2.3