use {{ now }} instead of {{ .Site.Params.version }}; added errorpages
This commit is contained in:
parent
fb24b7e480
commit
6cf10d85cd
12 changed files with 316 additions and 74 deletions
18
layouts/errorpages/list.html
Normal file
18
layouts/errorpages/list.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
{{ define "stylesheet" }}{{ $sass := resources.Get "scss/errorpages.scss" }}{{ $style := $sass | resources.ToCSS }}
|
||||
<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 }}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue