Skip to content

Commit

Permalink
remove blog images fingerprints (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
alidevjimmy authored Feb 3, 2025
1 parent f8ba1df commit b9937ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/image.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

{{- $image := resources.Get $imageURL -}}
{{- if $image -}}
{{- $resized := $image.Resize (printf "%dx webp q70" $image.Width) -}}
{{- $resized := resources.Copy (printf "%v.webp" (index (split $imageURL ".") 0)) ($image.Resize (printf "%dx webp q70" $image.Width)) -}}
{{- printf "%s" $resized.Permalink | safeURL -}}
{{- end -}}

0 comments on commit b9937ef

Please sign in to comment.