me dejaron cocinar demaciado

This commit is contained in:
2025-04-14 16:10:37 -03:00
parent bd510cb94b
commit 07727cee79
5655 changed files with 293183 additions and 0 deletions

17
layouts/partials/css.html Normal file
View File

@@ -0,0 +1,17 @@
{{ with (templates.Defer (dict "key" "global")) }}
{{ with resources.Get "css/main.css" }}
{{ $opts := dict
"minify" hugo.IsProduction
"inlineImports" true
}}
{{ with . | css.TailwindCSS $opts }}
{{ if hugo.IsProduction }}
{{ with . | fingerprint }}
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
{{ end }}
{{ else }}
<link rel="stylesheet" href="{{ .RelPermalink }}">
{{ end }}
{{ end }}
{{ end }}
{{ end }}