Fix XML syntax

This commit is contained in:
Christian Wolf 2024-04-07 13:08:04 +02:00
parent 507343e090
commit 579d83b871

View File

@ -7,7 +7,7 @@
{{ with .Keywords }}<meta name="keywords" content="{{ delimit . ",," ",," }}">{{ end }}
{{ $options := (dict "targetPath" "main.css" "outputStyle" "compressed" "enableSourceMap" (not hugo.IsProduction)) }}
{{ $scss := resources.Get "css/main.scss" | resources.ToCSS $options }}
<link rel="stylesheet" type="text/css" href="{{ $scss.RelPermalink }}">
<link rel="stylesheet" type="text/css" href="{{ $scss.RelPermalink }}" />
{{ $title := print .Site.Title " | " .Title }}
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
<title>{{ $title }}</title>