Merge commit 'bb147f91ee9078e6a55e8c32ab4b2e5dbc5cee45'

This commit is contained in:
Bjørn Erik Pedersen
2025-07-07 13:17:48 +02:00
162 changed files with 1624 additions and 2288 deletions

View File

@@ -12,17 +12,12 @@
display: none !important;
}
</style>
<meta
name="description"
content="{{ .Description | default site.Params.description }}">
{{ partial "layouts/head/head-js.html" . }}
{{ with (templates.Defer (dict "key" "global")) }}
{{ $t := debug.Timer "tailwindcss" }}
{{ with resources.Get "css/styles.css" }}
{{ $opts := dict
"inlineImports" true
"minify" (not hugo.IsDevelopment)
}}
{{ $opts := dict "minify" (not hugo.IsDevelopment) }}
{{ with . | css.TailwindCSS $opts }}
{{ partial "helpers/linkcss.html" (dict "r" .) }}
{{ end }}
@@ -37,8 +32,13 @@
{{ end }}
{{ partial "layouts/head/head.html" . }}
</head>
<body
class="flex flex-col min-h-full bg-white dark:bg-blue-950 kind-{{ .Kind }}">
{{ $bodyClass := printf "flex flex-col min-h-full bg-white dark:bg-blue-950 kind-%s" .Kind }}
{{ if .Params.searchable }}
{{ $bodyClass = printf "%s searchable" $bodyClass }}
{{ end }}
<body class="{{ $bodyClass }}">
{{ partial "layouts/hooks/body-start.html" . }}
{{/* Layout. */}}
{{ block "header" . }}