simplified everything, partially half the size loaded, despite the unified css file :); added colour scheme support; added blogroll and about pages

This commit is contained in:
Vrifox 2021-03-05 19:35:05 +01:00
parent 8c242b4aa5
commit e753ca3e90
Signed by: vrifox
GPG key ID: D40098E5B60B2197
20 changed files with 194 additions and 734 deletions

View file

@ -1,17 +1,6 @@
{{ define "stylesheet" }}{{ $sass := resources.Get "/errorpages.scss" }}{{ $style := $sass | resources.ToCSS }}
<link rel="preload stylesheet" as="style" href="{{ $style.Permalink }}" type="text/css" media="screen" />
{{ end }}
{{ define "main" }}
<main>
<div class="container">
<section>
<header>
<h2>{{ .Params.heading }}</h2>
<span class="subtitle">{{.Params.subheading}}</span>
</header>
{{.Content}}
</section>
</div>
</main>
{{ end }}
{{- define "main" }}
<main>
<h2>{{ .Params.heading }}</h2>
<p>{{ .Params.subheading}}</p>
</main>
{{- end }}