diff options
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/baseof.html | 4 | ||||
-rw-r--r-- | layouts/_default/single.html | 6 | ||||
-rw-r--r-- | layouts/_default/summary.html | 14 |
3 files changed, 14 insertions, 10 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 7f7c5ae..f5fb3d8 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -4,7 +4,11 @@ <body class="bg-near-white sans-serif" style="background:url('{{ .Site.Params.coverImage | absURL }}') fixed;"> {{- partial "header.html" . -}} + + <div id="content" class="fl w-75-ns bg-black-10"> {{- block "main" . }}{{- end }} + </div> + {{- partial "footer.html" . -}} {{- block "footerfiles" . }}{{- end }} 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> diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index 379694c..20c8d9c 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -1,10 +1,10 @@ -<article class="bt bb b--black-10 mw7 center"> - <a href='{{ .Permalink }}' class="db pv4 ph3 black no-underline dim"> +<article class="ba br2 b--black-10 mw7 mh3-ns mv3 bg-near-white"> + <a href='{{ .Permalink }}' class="db pa4-ns pa2 black no-underline dim "> <header> - <h1 class="f2 lh-title black-90 "> + <h1 class="f2 lh-title black-90"> {{ .Title }} </h1> - <div class="gray">{{ .Date.Format "Mon, Jan 2, 2006" }} - {{ .FuzzyWordCount }} Words </div> + <div class="gray">{{ .Date.Format "Mon, Jan 2, 2006" }} - {{ .FuzzyWordCount }} Words - {{ .ReadingTime }} min read</div> </header> <p class="f4 lh-copy black-80"> {{ .Summary }} @@ -13,10 +13,10 @@ <nobr class="link">Continue reading →</nobr> {{ with .Params.thumbnailImage }} - <img src="{{ . }}" class="mt2 br2"> + <img src="{{ . }}" class="mt2 br2 grow"> {{ else }} - {{ if .Params.coverimage }} - <img src="{{ .Params.coverimage }}" class="mt2 br2" /> + {{ if .Params.cover }} + <img src="{{ .Params.cover }}" class="mt2 br2 grow" /> {{ end}} {{ end }} |