aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/single.html11
1 files changed, 6 insertions, 5 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 69c5806..57adda2 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,16 +1,17 @@
{{ define "main" }}
<article>
- <div class="w-100 bg-green">
- <header class="dt pa5 mw7 center">
- <h1 class="f1 tc black-90">
+ <div class="w-100 vh-50 dt bg-center cover bg-gray"
+ style="background-image:url({{ .Params.coverimage }})">
+ <header class="dt pa5 mw7 center post-header white">
+ <h1 class="f1 tc">
{{ .Title }}</h1>
- <div class="gray tracked">{{ .Date.Format "Mon, Jan 2, 2006" }}</div>
+ <div class="f4 tracked">{{ .Date.Format "Mon, Jan 2, 2006" }}</div>
</header>
</div>
<div id="content" class="mw7 center">
- <div class="f5 lh-copy pv4 ph2 black-80">
+ <div class="f4 lh-copy pv4 ph2 black-70">
{{ .Content }}
</div>