website/layouts/index.html

26 lines
840 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-03-18 21:17:31 +01:00
<section 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>
</section>
</main>
{{- end }}