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.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/layouts/partials/post.html b/layouts/partials/post.html
index b610347..637381b 100644
--- a/layouts/partials/post.html
+++ b/layouts/partials/post.html
@@ -1,6 +1,6 @@
-<article class="pv2 bt bb b--black-10">
+<article class="py-2 bt bb b--black-10">
{{ partial "meta_links.html" . }}
- <a class="db link dim near-black" href="{{ .RelPermalink }}">
+ <a class="block dim near-black" href="{{ .RelPermalink }}">
<div class="cf">
{{ $image := "" }}
{{ if (.Resources.ByType "image").GetMatch "featured*" }}
@@ -9,7 +9,7 @@
{{ $image = resources.Get (index .Params.images 0) }}
{{ end }}
{{ with $image }}
- <div class="fl-ns mb4 mb0-ns pr3-ns">
+ <div class="fl-ns mb4 mb-0-ns pr3-ns">
<img
src="{{ if ne .MediaType.SubType "svg" }}
{{ $image := .Fill (default "150x150" $.Params.thumbnail_size) }}
@@ -17,13 +17,13 @@
{{ else }}
{{ $image.RelPermalink }}
{{ end }}"
- class="mw-20-ns db center"
+ class="mw-20-ns block mx-auto"
loading="lazy"
alt=""
/>
</div>
{{ end }}
- <h3 class="f3 baskerville mv1 lh-title">{{ .Title }}</h3>
+ <h3 class="f3 baskerville my-1 lh-title">{{ .Title }}</h3>
<div class="f5 lh-copy">
<!-- {{ .Summary }} -->
{{ .Summary | replaceRE `<sup.*?><a href.*?#fn:.*?footnote-ref.*?/a></sup>` "" | safeHTML }}