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 | 8c7102cbfe81c97a17f079ce42938f81e0f8a6f8 (patch) | |
| tree | f42f553c4c8a559d616cf5a1b521c4ca0568037a /www/layouts/partials/css-res.html | |
| parent | 046c71c4c282b7c9dce781c8a1f31c68a1515854 (diff) | |
| download | crupest-8c7102cbfe81c97a17f079ce42938f81e0f8a6f8.tar.gz crupest-8c7102cbfe81c97a17f079ce42938f81e0f8a6f8.tar.bz2 crupest-8c7102cbfe81c97a17f079ce42938f81e0f8a6f8.zip | |
fix(www): css load blink, code block bg, links.
Diffstat (limited to 'www/layouts/partials/css-res.html')
| -rw-r--r-- | www/layouts/partials/css-res.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/www/layouts/partials/css-res.html b/www/layouts/partials/css-res.html new file mode 100644 index 0000000..6fabf67 --- /dev/null +++ b/www/layouts/partials/css-res.html @@ -0,0 +1,9 @@ +{{ with . | minify }} + {{ if hugo.IsProduction }} + {{ with . | fingerprint }} + <link href="{{ .RelPermalink }}" rel="stylesheet" integrity="{{ .Data.Integrity }}"> + {{ end }} + {{ else }} + <link href="{{ .RelPermalink }}" rel="stylesheet"> + {{ end }} +{{ end }} |
