diff options
| author | 2026-02-10 17:11:24 +0300 | |
|---|---|---|
| committer | 2026-02-10 20:08:10 +0300 | |
| commit | 2ecb959c5b9c2b0750212af0349fd6d4a5c25258 (patch) | |
| tree | 16b3268b7dd825a13d4d8c0eb00007cc7f9a8ac1 /layouts/_partials/head/css.html | |
| download | base-2ecb959c5b9c2b0750212af0349fd6d4a5c25258.tar.gz base-2ecb959c5b9c2b0750212af0349fd6d4a5c25258.tar.bz2 base-2ecb959c5b9c2b0750212af0349fd6d4a5c25258.tar.xz base-2ecb959c5b9c2b0750212af0349fd6d4a5c25258.zip | |
Diffstat (limited to '')
| -rw-r--r-- | layouts/_partials/head/css.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/layouts/_partials/head/css.html b/layouts/_partials/head/css.html new file mode 100644 index 0000000..9324758 --- /dev/null +++ b/layouts/_partials/head/css.html @@ -0,0 +1,27 @@ +{{- with resources.Get "css/reset.css" }} +{{- if hugo.IsDevelopment }} +<link rel="stylesheet" href="{{ .RelPermalink }}"> +{{- else }} +{{- with . | minify | fingerprint }} +<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous"> +{{- end }} +{{- end }} +{{- end }} +{{- with resources.Get "css/paper.css" }} +{{- if hugo.IsDevelopment }} +<link rel="stylesheet" href="{{ .RelPermalink }}"> +{{- else }} +{{- with . | minify | fingerprint }} +<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous"> +{{- end }} +{{- end }} +{{- end }} +{{- with resources.Get "css/main.css" }} +{{- if hugo.IsDevelopment }} +<link rel="stylesheet" href="{{ .RelPermalink }}"> +{{- else }} +{{- with . | minify | fingerprint }} +<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous"> +{{- end }} +{{- end }} +{{- end }}
\ No newline at end of file |
