diff options
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> |