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.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/post.html b/layouts/partials/post.html
index 8afa03e..2e99a7a 100644
--- a/layouts/partials/post.html
+++ b/layouts/partials/post.html
@@ -14,9 +14,9 @@
{{ if ne .MediaType.SubType "svg" }}
{{ $image := .Fill (default "150x150" $.Params.thumbnail_size) }}
width="{{ $image.Width }}" height="{{ $image.Height }}"
- src="{{ $image.RelPermalink }}"
+ src="{{ $image.RelPermalink }}" class="mx-auto"
{{ else }}
- src="{{ $image.RelPermalink }}"
+ src="{{ $image.RelPermalink }}" class="mx-auto max-w-64"
{{ end }}
loading="lazy"
alt=""