website/layouts/index.html

27 lines
873 B
HTML
Raw Normal View History

{{- define "stylesheet" -}}
2023-01-15 01:03:14 +01:00
{{- $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" />
{{- end -}}
2022-11-28 18:32:29 +01:00
{{- define "header" }}
<header id="introduction" class="global-header">
2022-12-24 14:59:52 +01:00
<h1>{{ i18n "introduction-heading" }}</h1>
<p>{{ i18n "introduction-sub" }}</p>
2023-03-15 11:42:08 +01:00
<a href="#main" id="scroll-down"></a>
2022-11-28 18:32:29 +01:00
</header>
{{ end }}
{{- define "main" }}
2023-03-15 11:42:08 +01:00
<main id="main">
2023-05-18 13:20:29 +02:00
<div id="general-description">
2023-03-18 21:17:31 +01:00
<p id="websites-and-graphics">
{{ i18n "home-websites-and-graphics" | safeHTML }}
</p>
<p id="cozy-town">
{{ i18n "home-cozy-town" | safeHTML }}
</p>
2023-05-18 13:20:29 +02:00
</div>
2023-03-18 21:52:50 +01:00
{{ partial "moreposts.html" . }}
</main>
{{- end }}