diff options
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 |
commit | e34ded01904b07456a48cf28f1a5a2d2d77a0be7 (patch) | |
tree | 91178a5580504a58bd5612c1448a3fac403f07e3 /layouts/_default/single.html | |
parent | d1916e3b595abbb08d90a32f5c34f9cf64d38c9f (diff) | |
download | hugo-minimalist-theme-e34ded01904b07456a48cf28f1a5a2d2d77a0be7.tar.gz hugo-minimalist-theme-e34ded01904b07456a48cf28f1a5a2d2d77a0be7.tar.bz2 hugo-minimalist-theme-e34ded01904b07456a48cf28f1a5a2d2d77a0be7.zip |
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 6 |
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> |