diff options
author | uvok cheetah | 2023-11-01 17:28:47 +0100 |
---|---|---|
committer | uvok cheetah | 2023-11-01 17:28:47 +0100 |
commit | 0a21c40191374ed17bc108fd790b13b54d836023 (patch) | |
tree | 8abfa65c4483200c885659846d7e612120b6685f | |
parent | 07efa188e42cdcf70f7b5db6d7539efed9303198 (diff) |
Add cssversion to avoid caching
-rw-r--r-- | _config.yml | 1 | ||||
-rw-r--r-- | _includes/head.html | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/_config.yml b/_config.yml index 8d799f2..a09e134 100644 --- a/_config.yml +++ b/_config.yml @@ -67,3 +67,4 @@ autopages: collections: enabled: false +cssversion: "2023110101" diff --git a/_includes/head.html b/_includes/head.html index 6186408..9c69ce9 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -3,7 +3,7 @@ <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> {%- seo -%} - <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}"> + <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}?v={{ site.cssversion }}"> {%- feed_meta -%} <meta http-equiv="onion-location" content="http://iwccx6ebuapto7dlkd4m5fooud6nqn2z7go7aass5c4q6vl6gzs5htad.onion{{ page.url }}" /> </head> |