Files
alexis.lahouze.org/layouts/_partials/head.html
T
alahouze bd4da3196d
ci/woodpecker/push/woodpecker Pipeline was successful
Ajout de style.
2026-03-11 01:32:15 +01:00

23 lines
911 B
HTML

<meta charset="utf-8">
<meta name="generator" content="Hugo {{ hugo.Version }}">
{{ with .OutputFormats.Get "rss" }}
<link rel="{{ .Rel }}" {{ printf "type=%q" .MediaType.Type | safeHTMLAttr }} href="{{ .Permalink }}" title="{{ site.Title }}" />
{{ end }}
{{ range resources.Match "*.scss" }}
{{ $targetPath := path.Join "css" (printf "%s.css" (path.BaseName .Name)) }}
{{ $opts := dict "transpiler" "libsass" "targetPath" $targetPath }}
{{ with . | toCSS $opts }}
{{ 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 }}
{{ end }}
<title>{{ block "title" . }}{{ .Site.Title }} - {{ .Title }}{{ end }}</title>
{{/* vim: set tw=80 ts=2 sw=2 sts=2 ft=gohtmltmpl: */}}