From 0cb6a5c81271a61e930505f3315b1d67bdf22724 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sun, 16 Jul 2023 22:46:06 +0200 Subject: Renamed all the notes files to include date --- content/notes/2023-05-01-cachebusting-in-hugo.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 content/notes/2023-05-01-cachebusting-in-hugo.md (limited to 'content/notes/2023-05-01-cachebusting-in-hugo.md') diff --git a/content/notes/2023-05-01-cachebusting-in-hugo.md b/content/notes/2023-05-01-cachebusting-in-hugo.md new file mode 100644 index 0000000..b889d6b --- /dev/null +++ b/content/notes/2023-05-01-cachebusting-in-hugo.md @@ -0,0 +1,17 @@ +--- +title: Cache busting in Hugo +url: cachebusting-in-hugo.html +date: 2023-05-01T12:00:00+02:00 +type: note +draft: false +tags: [hugo] +--- + +```html +{{ $cachebuster := delimit (shuffle (split (md5 "6fab11c6669976d759d2992eff1dd5be") "" )) "" }} + + +``` + +This `6fab11c6669976d759d2992eff1dd5be` can be random string you generate use. +You can use whatever you want. -- cgit v1.2.3