website/layouts/errorpages/single.html

18 lines
487 B
HTML
Raw Normal View History

{{ define "stylesheet" }}{{ $sass := resources.Get "/errorpages.scss" }}{{ $style := $sass | resources.ToCSS }}
2020-09-26 17:57:12 +02:00
<link rel="stylesheet" href="{{ $style.Permalink }}" type="text/css" media="screen" rel="preload" />
{{ end }}
{{ define "main" }}
<main>
<div class="container">
<section>
<header>
2020-11-27 18:36:31 +01:00
<h2>{{ .Params.heading }}</h2>
<span class="subtitle">{{.Params.subheading}}</span>
</header>
{{.Content}}
</section>
</div>
</main>
{{ end }}