website/layouts/index.html

19 lines
571 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">
2022-12-24 14:59:52 +01:00
{{ .Content }}
</main>
{{- end }}