aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/leading_image.html
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2025-01-05 23:44:45 +0100
committerOscar Najera <hi@oscarnajera.com>2025-01-05 23:45:00 +0100
commit4b76a856b2841fb197acc982ed168bc52db6ea3d (patch)
treebb92327990d20b262dca7f597453c8ae7bfee16d /layouts/partials/leading_image.html
parentf9e5452a0046e6e47425f0c58d438d0f573fece9 (diff)
downloadhugo-minimalist-theme-4b76a856b2841fb197acc982ed168bc52db6ea3d.tar.gz
hugo-minimalist-theme-4b76a856b2841fb197acc982ed168bc52db6ea3d.tar.bz2
hugo-minimalist-theme-4b76a856b2841fb197acc982ed168bc52db6ea3d.zip
add tailwind and do some replacements
Diffstat (limited to 'layouts/partials/leading_image.html')
-rw-r--r--layouts/partials/leading_image.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/leading_image.html b/layouts/partials/leading_image.html
index ac528d3..0dda603 100644
--- a/layouts/partials/leading_image.html
+++ b/layouts/partials/leading_image.html
@@ -14,13 +14,13 @@
{{ else }}
{{ $image.RelPermalink }}
{{ end }}"
- class="ma0"
+ class="m-0"
alt="{{ .Title }}"
/>
{{ with $.Params.caption }}
<a
href="{{ .url }}"
- class="link near-white db absolute bottom-0 right-0 pa2 bg-black-30 br2"
+ class="near-white block absolute bottom-0 right-0 p-2 bg-black-30 br2"
>
{{ .text }}
</a>