diff options
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r-- | layouts/shortcodes/img-center.html | 2 | ||||
-rw-r--r-- | layouts/shortcodes/youtube.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/shortcodes/img-center.html b/layouts/shortcodes/img-center.html index 57365077..a7206c36 100644 --- a/layouts/shortcodes/img-center.html +++ b/layouts/shortcodes/img-center.html @@ -3,7 +3,7 @@ {{- $img := resources.Get $path }} {{- $caption := .Get 1 }} {{- $source := .Get 2 }} -{{- $img = $img.Resize "500x webp" }} +{{- $img = $img.Resize "500x webp q90"}} <figure> <img class="centered" alt="{{ $caption }}" src="{{ $img.RelPermalink }}" width="{{ $img.Width }}" height="{{ $img.Height }}"> <figcaption> diff --git a/layouts/shortcodes/youtube.html b/layouts/shortcodes/youtube.html index 4e38c50b..3003f342 100644 --- a/layouts/shortcodes/youtube.html +++ b/layouts/shortcodes/youtube.html @@ -2,7 +2,7 @@ {{- $title := .Get 1 }} {{- $path := printf "ytcovers/%s.jpg" $id}} {{- $img := resources.Get $path }} -{{- $img = $img.Resize "x300 webp" }} +{{- $img = $img.Resize "x300 webp q90" }} <center> <a href="https://www.youtube.com/watch?v={{$id}}" target="_blank"> |