aboutsummaryrefslogtreecommitdiff
path: root/_posts/notes/2023-05-01-cachebusting-in-hugo.md
diff options
context:
space:
mode:
Diffstat (limited to '_posts/notes/2023-05-01-cachebusting-in-hugo.md')
-rw-r--r--_posts/notes/2023-05-01-cachebusting-in-hugo.md18
1 files changed, 0 insertions, 18 deletions
diff --git a/_posts/notes/2023-05-01-cachebusting-in-hugo.md b/_posts/notes/2023-05-01-cachebusting-in-hugo.md
deleted file mode 100644
index f8d92b2..0000000
--- a/_posts/notes/2023-05-01-cachebusting-in-hugo.md
+++ /dev/null
@@ -1,18 +0,0 @@
1---
2title: Cache busting in Hugo
3permalink: /cachebusting-in-hugo.html
4date: 2023-05-01T12:00:00+02:00
5layout: post
6type: note
7draft: false
8tags: [hugo]
9---
10
11```html
12\{\{ $cachebuster := delimit (shuffle (split (md5 "6fab11c6669976d759d2992eff1dd5be") "" )) "" \}\}
13
14<link rel="stylesheet" href="/style.css?v=\{\{ $cachebuster \}\}">
15```
16
17This `6fab11c6669976d759d2992eff1dd5be` can be random string you generate use.
18You can use whatever you want.