We finally got the right theme, uploading the base

This commit is contained in:
Luca Beltrame 2020-12-28 16:59:22 +01:00
parent 4753240e26
commit 6139a25c63
Signed by: einar
GPG key ID: 4707F46E9EC72DEC
13 changed files with 337 additions and 0 deletions

21
layouts/page/single.html Normal file
View file

@ -0,0 +1,21 @@
{{ define "header" }}{{ partial "page-header.html" . }}{{ end }}
{{ define "main" }}
{{ $featured_image := partial "func/GetFeaturedImage.html" . }}
<div class="flex-l mt2 mw8 center">
<article class="center cf pv5 ph3 ph4-ns mw7">
<header>
<p class="f6 b helvetica tracked">
{{ humanize .Section | upper }}
</p>
{{ if not $featured_image }}
<h1 class="f1">
{{ .Title }}
</h1>
{{ end }}
</header>
<div class="nested-copy-line-height lh-copy f4 nested-links nested-img mid-gray">
{{ .Content }}
</div>
</article>
</div>
{{ end }}