Umstellung auf neue Hugo Version 0.139.4 - Verschieben der Author-Sektion

This commit is contained in:
marcodn 2025-01-02 19:19:27 +01:00
parent dca5adb929
commit 8662c0add2
9 changed files with 32 additions and 24 deletions

View file

@ -9,7 +9,7 @@
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ if .IsPage }}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}">
{{/* compressed soll besser sein als minify bei SASS */}}
{{- $sassOptions := (dict "targetPath" "main.css" "outputStyle" "compressed" "enableSourceMap" (not hugo.IsProduction) "includePaths" "assets/bootstrap/scss") -}}
{{- $sassStyle := resources.Get "_own/sass/main.scss" | resources.ToCSS $sassOptions | minify -}}
{{- $sassStyle := resources.Get "_own/sass/main.scss" | toCSS $sassOptions | minify -}}
<link rel="stylesheet" type="text/css" href="{{ $sassStyle.RelPermalink | relURL }}">
{{- $style := resources.Match "_own/css/**.css" | resources.Concat "css/custom.css" | minify -}}{{/* .Resources.GetMatch "css/**.css" */}}