vmems-website/layouts/partials/head.html
Matthieu Bessat 4ababc96dc
All checks were successful
Deploy workflow / deploy (push) Successful in 13s
fix(design): use bootstrap success as primary color
2024-09-03 12:10:41 +02:00

36 lines
1.4 KiB
HTML

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{- $description := partialCached "data/description" . .RelPermalink -}}
<meta name="description" content="{{ $description }}">
{{- with .Site.Params.author -}}
<meta name="author" content="{{ . }}">
{{ end }}
{{- $title := partialCached "data/title" . .RelPermalink -}}
<title>{{ $title }} {{ if not .IsHome }}- VMEMS{{ end }}</title>
<link rel="canonical" href="{{ .Permalink }}">
{{ partial "opengraph/include.html" . }}
{{ range .AlternativeOutputFormats }}
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
{{ end }}
{{ $faviconSm := resources.Get "images/logos/logo_sm.png" }}
<link rel="apple-touch-icon" sizes="192x192" href="{{ $faviconSm.RelPermalink }}">
<link rel="icon" type="image/png" sizes="192x192" href="{{ $faviconSm.RelPermalink }}">
<link rel="manifest" href="/manifest.json">
<meta name="msapplication-TileColor" content="#198754">
<meta name="msapplication-TileImage" content="{{ $faviconSm.RelPermalink }}">
<meta name="theme-color" content="#198754">
<!-- Note: j'ai galérer à rajouter du scss car en fait y'avait déja une variable $style de définit plus haut... -->
{{ $style := resources.Get "sass/main.scss" | resources.ToCSS | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}">
<meta name="htmx-config" content='{"selfRequestsOnly":false}'>