aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorÓscar Nájera <hello@oscarnajera.com>2019-06-15 02:57:25 +0200
committerÓscar Nájera <hello@oscarnajera.com>2019-06-15 02:57:25 +0200
commite34ded01904b07456a48cf28f1a5a2d2d77a0be7 (patch)
tree91178a5580504a58bd5612c1448a3fac403f07e3 /layouts/_default/single.html
parentd1916e3b595abbb08d90a32f5c34f9cf64d38c9f (diff)
downloadhugo-minimalist-theme-master.tar.gz
hugo-minimalist-theme-master.tar.bz2
hugo-minimalist-theme-master.zip
Simplifying parts of the themeHEADmaster
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index e28413d..6007308 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,10 +1,10 @@
{{ define "main" }}
<article>
- <div id="post-header-cover" class="w-100 vh-50 dt bg-center cover bg-black-30 pt4"
- {{ with .Params.coverimage }}
+ <div id="post-header-cover" class="bg-center cover bg-black-30"
+ {{ with .Params.cover }}
style="background-image:url({{ . }})"
{{ end }} >
- <header class="dt pa2 pa5-ns mw7 center post-header white">
+ <header class="dt pa2 mw6 center post-header white">
<h1 class="f1 lh-title">
{{ .Title }}</h1>