diff --git a/alldomains b/alldomains index 0930b8f..0b1ee5e 100644 --- a/alldomains +++ b/alldomains @@ -529,4 +529,5 @@ https://s.werobot.fr//blog/bob-ross/5de7d3e87eb60/50.jpg https://s.werobot.fr//blog/bob-ross/5de7d3ee8714f/50.jpg https://s.werobot.fr//blog/bob-ross/20190915_182329.mp4 https://s.werobot.fr//25-09-2019-bpm-vernon-interview.mp3 -https://werobot.fr/images/logo.png \ No newline at end of file +https://werobot.fr/images/logo.png +https://s.werobot.fr//blog/bob-ross/63cbb53f9b1b5/75.jpg \ No newline at end of file diff --git a/layouts/shortcodes/youtube.html b/layouts/shortcodes/youtube.html index 9446998..6db7681 100644 --- a/layouts/shortcodes/youtube.html +++ b/layouts/shortcodes/youtube.html @@ -5,4 +5,19 @@ {{ $code = (.Get "src") }} {{ $code = (strings.ReplaceRE `(http(?:s)?:\/\/(?:www\.)?youtu(?:(?:be\.com)|(?:\.be))|(?:be-nocookie\.com))\/(?:(?:watch\?v=)|(?:embed\/)|(?:\/v\/))?(.+)?(?:\&|\?)` "" $code) }} {{ end }} +{{ if (.Get "iframemode") }} +