We finally got the right theme, uploading the base
This commit is contained in:
parent
4753240e26
commit
6139a25c63
13 changed files with 337 additions and 0 deletions
21
layouts/page/single.html
Normal file
21
layouts/page/single.html
Normal 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 }}
|
Loading…
Add table
Add a link
Reference in a new issue