diff options
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 29e94b3..2d1cd68 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,7 +1,9 @@ {{ define "main" }} <article> - <div id="post-header-cover" class="w-100 vh-50 dt bg-center cover bg-gray" - style="background-image:url({{ .Params.coverimage }})"> + <div id="post-header-cover" class="w-100 dt bg-center cover bg-black-30" + {{ with .Params.coverimage }} + style="background-image:url({{ . }})" + {{ end }} > <header class="dt pa2 pa5-ns mw7 center post-header white"> <h1 class="f1 lh-title"> {{ .Title }}</h1> @@ -10,12 +12,12 @@ </header> </div> - <div id="content" class="mw7 center"> - <div class="f4 lh-copy pv4 ph2 black-70"> + <div id="content" class="bg-near-white"> + <div class="f4 mw7 center lh-copy pv4 ph2 black-70"> {{ .Content }} </div> - <footer class="ph3 pb2 bt bb cf b--black-50"> + <footer class="mw7 center ph3 pb2 bt bb cf b--black-50"> {{ with .Params.tags }} <div class="fl-ns w-50-ns mb2"> <h5 class="f5 ttu black-60">Tagged in</h5> @@ -51,12 +53,11 @@ </a> {{ end}} </div> - - </div> {{ if not (eq .Params.comments false) }} <div class="mw7 center mv4 pa2"> {{ template "_internal/disqus.html" . }} </div> {{ end }} + </div> </article> {{ end }} |