diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-02-26 19:36:40 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-02-26 19:36:40 +0800 |
commit | 5078921f9309ee1d78d528aa683c8eb982c571e1 (patch) | |
tree | 996c21f5084e725bc765f87d2126528e0b499d39 /www/layouts/partials/css.html | |
parent | 0874dd5d5652f7d710d98329ba111fd69e7d8fce (diff) | |
download | crupest-5078921f9309ee1d78d528aa683c8eb982c571e1.tar.gz crupest-5078921f9309ee1d78d528aa683c8eb982c571e1.tar.bz2 crupest-5078921f9309ee1d78d528aa683c8eb982c571e1.zip |
fix(www): css load blink, code block bg, links.
Diffstat (limited to 'www/layouts/partials/css.html')
-rw-r--r-- | www/layouts/partials/css.html | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/www/layouts/partials/css.html b/www/layouts/partials/css.html index 5ddd65b..12d3353 100644 --- a/www/layouts/partials/css.html +++ b/www/layouts/partials/css.html @@ -1,9 +1 @@ -{{ with resources.Get . | minify }} - {{ if hugo.IsProduction }} - {{ with . | fingerprint }} - <link href="{{ .RelPermalink }}" rel="stylesheet" integrity="{{ .Data.Integrity }}"> - {{ end }} - {{ else }} - <link href="{{ .RelPermalink }}" rel="stylesheet"> - {{ end }} -{{ end }} +{{ partial "css-res.html" (resources.Get .) }}
\ No newline at end of file |