2020-09-22 15:35:44 +02:00
|
|
|
{{ define "stylesheet" }}{{ $sass := resources.Get "/errorpages.scss" }}{{ $style := $sass | resources.ToCSS }}
|
2020-09-22 15:18:28 +02:00
|
|
|
<link rel="stylesheet" href="{{ $style.Permalink }}" type="text/css" media="screen" />
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "main" }}
|
|
|
|
<main>
|
|
|
|
<div class="container">
|
|
|
|
<section>
|
|
|
|
<header>
|
|
|
|
<h1>{{ .Params.heading }}</h1>
|
|
|
|
<span class="subtitle">{{.Params.subheading}}</span>
|
|
|
|
</header>
|
|
|
|
{{.Content}}
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
{{ end }}
|
|
|
|
|