diff options
author | Oscar Najera <hi@oscarnajera.com> | 2025-01-06 05:22:56 +0100 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2025-01-06 05:22:56 +0100 |
commit | c123fc189929429164bf7268a9e7d5974884499f (patch) | |
tree | 2b33979e9df4ed36d77e23f9a9571fad4f90935c /layouts/partials/post.html | |
parent | ecb7569b3c047f6e6845f8a49f6eee3d6762a968 (diff) | |
download | hugo-minimalist-theme-c123fc189929429164bf7268a9e7d5974884499f.tar.gz hugo-minimalist-theme-c123fc189929429164bf7268a9e7d5974884499f.tar.bz2 hugo-minimalist-theme-c123fc189929429164bf7268a9e7d5974884499f.zip |
more translations
Diffstat (limited to 'layouts/partials/post.html')
-rw-r--r-- | layouts/partials/post.html | 4 |
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="" |