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/summary.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/summary.html')
-rw-r--r-- | layouts/_default/summary.html | 14 |
1 files changed, 7 insertions, 7 deletions
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 }} |