1
0
mirror of https://github.com/avinal/box-box.git synced 2026-01-10 21:48:32 +05:30
Files
box-box/layouts/partials/head/css.html
2025-01-01 14:40:16 +05:30

10 lines
351 B
HTML

{{- with resources.Get "css/main.css" }}
{{- if eq hugo.Environment "development" }}
<link rel="stylesheet" href="{{ .RelPermalink }}">
{{- else }}
{{- with . | minify | fingerprint }}
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
{{- end }}
{{- end }}
{{- end }}