From: Bjørn Erik Pedersen Date: Mon, 21 May 2018 20:25:04 +0000 (+0200) Subject: Make the simple mode YouTube links schemaless X-Git-Tag: v0.41~27 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=69ee6b41e36625595e2bcabcde0bc58663e5b93c;p=brevno-suite%2Fhugo Make the simple mode YouTube links schemaless See #4616 --- 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