summaryrefslogtreecommitdiff
path: root/layouts/shortcodes/youtube.html
diff options
context:
space:
mode:
authorMichał M. Sapka <michal@sapka.me>2023-02-24 20:14:37 +0100
committerMichał M. Sapka <michal@sapka.me>2023-02-24 20:14:37 +0100
commitde97bdfd07f43e1e394fcd310aeca277e043500b (patch)
tree99cd1d3f0d3ecd8008ca53d7a229fe92aa277c5f /layouts/shortcodes/youtube.html
parent9d3074f07e10e06e7d13ff1775cb5264a95a7db9 (diff)
articles for 2023-02-24+25 and better image quality
Diffstat (limited to 'layouts/shortcodes/youtube.html')
-rw-r--r--layouts/shortcodes/youtube.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/shortcodes/youtube.html b/layouts/shortcodes/youtube.html
index 4e38c50..3003f34 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">