💄 Add rounded border to images

This commit is contained in:
James Panther
2022-01-31 09:14:30 +11:00
parent e465eaeb33
commit 053a03d429
3 changed files with 13 additions and 11 deletions
+5 -5
View File
@@ -3,13 +3,13 @@
{{ with $.Page.Resources.GetMatch (.Destination) }}
<figure>
<img
class="my-0"
class="my-0 rounded-md"
srcset="
{{ (.Resize "320x").RelPermalink }} 320w,
{{ (.Resize "635x").RelPermalink }} 635w,
{{ (.Resize "330x").RelPermalink }} 330w,
{{ (.Resize "660x").RelPermalink }} 660w,
{{ (.Resize "1024x").RelPermalink }} 1024w,
{{ (.Resize "1270x").RelPermalink }} 2x"
src="{{ (.Resize "635x").RelPermalink }}"
{{ (.Resize "1320x").RelPermalink }} 2x"
src="{{ (.Resize "660x").RelPermalink }}"
alt="{{ $altText }}"
/>
<figcaption>{{ $caption | markdownify }}</figcaption>