fix: update syntax
Some checks failed
ci/woodpecker/push/hugo-build Pipeline failed

This commit is contained in:
Vri 🌈 2025-02-18 19:52:40 +01:00
parent c04e4ae6c5
commit 289161b91d
Signed by: vrifox
SSH key fingerprint: SHA256:7OLOvW+jmULkXpdl5rUWgid7WJQhOIEgj+4WP/PtCpI
8 changed files with 83 additions and 83 deletions

View file

@ -1,6 +1,6 @@
{{- define "stylesheet" -}}
{{- $style := resources.Get "/scss/home.scss" | resources.ToCSS (dict "outputStyle" "compressed") -}}
<link rel="preload stylesheet" as="style" href="{{ $style.Permalink }}" type="text/css" media="screen" />
{{- $style := resources.Get "/scss/home.scss" | css.Sass (dict "outputStyle" "compressed") -}}
<link rel="preload stylesheet" as="style" href="{{ $style.Permalink }}" type="text/css" media="screen" />
{{- end -}}
{{- define "header" }}
@ -12,15 +12,15 @@
{{ end }}
{{- define "main" }}
<main id="main">
<div id="general-description">
<p id="websites-and-graphics">
{{ i18n "home-websites-and-graphics" | safeHTML }}
</p>
<p id="cozy-town">
{{ i18n "home-cozy-town" | safeHTML }}
</p>
</div>
{{ partial "moreposts.html" . }}
</main>
{{- end }}
<main id="main">
<div id="general-description">
<p id="websites-and-graphics">
{{ i18n "home-websites-and-graphics" | safeHTML }}
</p>
<p id="cozy-town">
{{ i18n "home-cozy-town" | safeHTML }}
</p>
</div>
{{ partial "moreposts.html" . }}
</main>
{{- end }}