Skip to content

Convert covers to WebP, how? #539

Answered by danielfdickinson
pixelfabs asked this question in Q&A
Discussion options

You must be logged in to vote

Replace: {{ printf "%s %s" (($cover.Resize (printf "%sx" $size)).Permalink) (printf "%sw ," $size) -}} with {{ printf "%s %s" (($cover.Resize (printf "%sx webp" $size)).Permalink) (printf "%sw ," $size) -}}

Which reminds me to make sure I did not forget to make that change in a personal fork after I did updates for sending upstream (here).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pixelfabs
Comment options

Answer selected by pixelfabs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants