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 | 311dfdcc6b5712dd6085287ada5ebe48e02116c4 (patch) | |
tree | 37053cfe69bc7a115d849f61223cf51dedb99e80 /www/layouts/partials/css.html | |
parent | 0c885ba1bf30ce8308880f926be85b6f5a499fa6 (diff) | |
download | crupest-311dfdcc6b5712dd6085287ada5ebe48e02116c4.tar.gz crupest-311dfdcc6b5712dd6085287ada5ebe48e02116c4.tar.bz2 crupest-311dfdcc6b5712dd6085287ada5ebe48e02116c4.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 |