website/layouts/index.html
Vri 289161b91d
Some checks failed
ci/woodpecker/push/hugo-build Pipeline failed
fix: update syntax
2025-02-18 19:52:40 +01:00

26 lines
No EOL
813 B
HTML

{{- define "stylesheet" -}}
{{- $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" }}
<header id="introduction" class="global-header">
<h1>{{ i18n "introduction-heading" }}</h1>
<p>{{ i18n "introduction-sub" }}</p>
<a href="#main" id="scroll-down"></a>
</header>
{{ 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 }}