aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/summary.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/summary.html')
-rw-r--r--layouts/_default/summary.html14
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 }}