From 69ee6b41e36625595e2bcabcde0bc58663e5b93c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Mon, 21 May 2018 22:25:04 +0200 Subject: [PATCH] Make the simple mode YouTube links schemaless See #4616 --- tpl/tplimpl/embedded/templates.autogen.go | 4 ++-- tpl/tplimpl/embedded/templates/shortcodes/youtube_simple.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tpl/tplimpl/embedded/templates.autogen.go b/tpl/tplimpl/embedded/templates.autogen.go index 865859b4..de0e21c5 100644 --- a/tpl/tplimpl/embedded/templates.autogen.go +++ b/tpl/tplimpl/embedded/templates.autogen.go @@ -342,8 +342,8 @@ M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.5 {{ template "__h_simple_css" $ }} {{ end }}
-{{ $tb := printf "https://i.ytimg.com/vi/%s/" $id }} - +{{ $tb := printf "//i.ytimg.com/vi/%s/" $id }} + Video
`}, {`twitter_cards.html`, `{{- with $.Params.images -}} diff --git a/tpl/tplimpl/embedded/templates/shortcodes/youtube_simple.html b/tpl/tplimpl/embedded/templates/shortcodes/youtube_simple.html index 15c68461..0659cc94 100644 --- a/tpl/tplimpl/embedded/templates/shortcodes/youtube_simple.html +++ b/tpl/tplimpl/embedded/templates/shortcodes/youtube_simple.html @@ -7,7 +7,7 @@ {{ template "__h_simple_css" $ }} {{ end }}
-{{ $tb := printf "https://i.ytimg.com/vi/%s/" $id }} - +{{ $tb := printf "//i.ytimg.com/vi/%s/" $id }} + Video
\ No newline at end of file -- 2.30.2