initial commit

This commit is contained in:
Vri 🌈 2020-09-14 16:24:02 +02:00
commit ab7f027048
86 changed files with 4742 additions and 0 deletions

29
layouts/404.html Normal file
View file

@ -0,0 +1,29 @@
{{ define "stylesheet" }}{{ $sass := resources.Get "scss/index.scss" }}{{ $style := $sass | resources.ToCSS }}
<link rel="stylesheet" href="{{ $style.Permalink }}" type="text/css" media="screen" />
{{ end }}
{{ define "main" }}
<main class="container">
<section>
<header>
<h1>{{ .Params.heading }}</h1>
<span class="subtitle">{{.Params.subheading}}</span>
</header>
{{.Content}}
</section>
<section class="section-articles">
{{ range first 3 (where .Site.RegularPages "Type" "post") }}
<article>
<h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
<p class="date" title="{{ .Date.Format "2 Jan 2006, 15:04 MST" }}">{{ .Date.Format "2 January 2006" }}</p>
{{ with .Description }}
<p>{{ . }}</p>
{{ end }}
{{ with .Params.featured_image }}
<img src="{{ . | absURL }}">
{{ end }}
</article>
{{ end }}
</section>
</main>
{{ end }}