aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/post.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/post.html')
-rw-r--r--layouts/partials/post.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/post.html b/layouts/partials/post.html
index 768755d..0d80db9 100644
--- a/layouts/partials/post.html
+++ b/layouts/partials/post.html
@@ -1,7 +1,6 @@
-<article class="pv4 bt bb b--black-10">
+<article class="pv2 bt bb b--black-10">
{{ partial "meta_links.html" . }}
<a class="db no-underline dim near-black" href="{{ .RelPermalink }}">
- <h3 class="f3 baskerville mt0 lh-title">{{ .Title }}</h3>
<div class="cf">
{{ $image := "" }}
{{ if (.Resources.ByType "image").GetMatch "featured*" }}
@@ -13,7 +12,7 @@
<div class="fl-ns mb4 mb0-ns pr3-ns">
<img
src="{{ if ne .MediaType.SubType "svg" }}
- {{ $image := .Fill (default "320x210" $.Params.thumbnail_size) }}
+ {{ $image := .Fill (default "150x150" $.Params.thumbnail_size) }}
{{ $image.RelPermalink }}
{{ else }}
{{ $image.RelPermalink }}
@@ -22,6 +21,7 @@
/>
</div>
{{ end }}
+ <h3 class="f3 baskerville mv1 lh-title">{{ .Title }}</h3>
<div class="f5 lh-copy">
<!-- {{ .Summary }} -->
{{ .Summary | replaceRE `<sup.*?><a href.*?#fn:.*?footnote-ref.*?/a></sup>` "" | safeHTML }}