aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorÓscar Nájera <hello@oscarnajera.com>2018-07-08 20:48:17 +0200
committerÓscar Nájera <hello@oscarnajera.com>2018-07-08 20:48:17 +0200
commit46469d1d5218b56e2b418a34e39cfe6457c6ef66 (patch)
tree844a85f31593f0289966788336574d4d5bef3ff4 /layouts/_default/single.html
parent0224bdd331b3fc54d3b1c812dd0b51f4c73f5d59 (diff)
downloadhugo-minimalist-theme-46469d1d5218b56e2b418a34e39cfe6457c6ef66.tar.gz
hugo-minimalist-theme-46469d1d5218b56e2b418a34e39cfe6457c6ef66.tar.bz2
hugo-minimalist-theme-46469d1d5218b56e2b418a34e39cfe6457c6ef66.zip
Post main image
Diffstat (limited to 'layouts/_default/single.html')
-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>