From 00297085db48cbb7949c9867012f6df38817fc29 Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Thu, 29 Aug 2019 11:27:14 -0400 Subject: tpl: Migrate last shortcodes (YouTube and Vimeo) to HTTPS embeds --- tpl/tplimpl/embedded/templates.autogen.go | 6 +++--- tpl/tplimpl/embedded/templates/shortcodes/vimeo.html | 4 ++-- tpl/tplimpl/embedded/templates/shortcodes/youtube.html | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'tpl') diff --git a/tpl/tplimpl/embedded/templates.autogen.go b/tpl/tplimpl/embedded/templates.autogen.go index a386a05a5..5850d6874 100644 --- a/tpl/tplimpl/embedded/templates.autogen.go +++ b/tpl/tplimpl/embedded/templates.autogen.go @@ -466,10 +466,10 @@ if (!doNotTrack) { {{ template "_internal/shortcodes/vimeo_simple.html" . }} {{- else -}} {{ if .IsNamedParams }}
- +
{{ else }}
- +
{{ end }} {{- end -}} @@ -499,7 +499,7 @@ if (!doNotTrack) { {{- $id := .Get "id" | default (.Get 0) -}} {{- $class := .Get "class" | default (.Get 1) }}
- +
{{ end -}} `}, diff --git a/tpl/tplimpl/embedded/templates/shortcodes/vimeo.html b/tpl/tplimpl/embedded/templates/shortcodes/vimeo.html index 2929aa4ab..94f03470e 100644 --- a/tpl/tplimpl/embedded/templates/shortcodes/vimeo.html +++ b/tpl/tplimpl/embedded/templates/shortcodes/vimeo.html @@ -4,10 +4,10 @@ {{ template "_internal/shortcodes/vimeo_simple.html" . }} {{- else -}} {{ if .IsNamedParams }}
- +
{{ else }}
- +
{{ end }} {{- end -}} diff --git a/tpl/tplimpl/embedded/templates/shortcodes/youtube.html b/tpl/tplimpl/embedded/templates/shortcodes/youtube.html index ff268c511..9e8477659 100644 --- a/tpl/tplimpl/embedded/templates/shortcodes/youtube.html +++ b/tpl/tplimpl/embedded/templates/shortcodes/youtube.html @@ -4,6 +4,6 @@ {{- $id := .Get "id" | default (.Get 0) -}} {{- $class := .Get "class" | default (.Get 1) }}
- +
{{ end -}} -- cgit v1.2.3