website/layouts/errorpages/single.html

12 lines
389 B
HTML
Raw Normal View History

2023-01-15 01:03:14 +01:00
{{- define "stylesheet" -}}
{{- $style := resources.Get "/scss/default.scss" | resources.ToCSS (dict "outputStyle" "compressed") -}}
<link rel="preload stylesheet" as="style" href="{{ $style.Permalink }}" type="text/css" media="screen" />
{{- end -}}
{{- define "main" }}
<main>
<h2>{{ .Params.heading }}</h2>
<p>{{ .Params.subheading}}</p>
</main>
{{- end }}