🔀 Merge pull request #645 from stereobooster/provide-width-height

Provide width and height for images
This commit is contained in:
James Panther
2023-09-12 09:46:58 +10:00
committed by GitHub
4 changed files with 8 additions and 0 deletions
+2
View File
@@ -22,6 +22,8 @@
{{- (.Fill "160x120 smart").RelPermalink }}
160w, {{- (.Fill "320x240 smart").RelPermalink }} 2x"
src="{{ (.Fill "160x120 smart").RelPermalink }}"
width="160"
height="120"
{{ end }}
{{ if $.Site.Params.enableImageLazyLoading | default true }}
loading="lazy"