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:
parent
8c242b4aa5
commit
e753ca3e90
20 changed files with 194 additions and 734 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue