2023-01-15 00:19:35 +01:00
|
|
|
{{- 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" />
|
2023-01-15 00:19:35 +01:00
|
|
|
{{- 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>
|
2022-11-28 18:32:29 +01:00
|
|
|
</header>
|
|
|
|
{{ end }}
|
|
|
|
|
2021-03-05 19:35:05 +01:00
|
|
|
{{- define "main" }}
|
2020-11-20 22:39:10 +01:00
|
|
|
<main>
|
2022-12-24 14:59:52 +01:00
|
|
|
{{ .Content }}
|
2021-03-05 19:35:05 +01:00
|
|
|
</main>
|
|
|
|
{{- end }}
|