diff --git a/exampleSite/content/post/rich-content/index.md b/exampleSite/content/post/rich-content/index.md index f2b45db..66c9395 100644 --- a/exampleSite/content/post/rich-content/index.md +++ b/exampleSite/content/post/rich-content/index.md @@ -11,29 +11,8 @@ tags = [ Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugo-s-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds. ---- -## YouTube Privacy Enhanced Shortcode - -{{< youtube ZJthWmvUzzc >}} - -
- ---- - -## Twitter Simple Shortcode - -{{< twitter_simple 1085870671291310081 >}} - -
- ---- - -## Vimeo Simple Shortcode - -{{< vimeo_simple 48912912 >}} - -## bilibilibi Shortcode +## bilibili Shortcode {{< bilibili av498363026 >}} diff --git a/layouts/shortcodes/tencent.html b/layouts/shortcodes/tencent.html deleted file mode 100644 index 463dec5..0000000 --- a/layouts/shortcodes/tencent.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ $vid := .Get 0 }} -
- -
\ No newline at end of file diff --git a/layouts/shortcodes/video.html b/layouts/shortcodes/video.html deleted file mode 100644 index 5324754..0000000 --- a/layouts/shortcodes/video.html +++ /dev/null @@ -1,14 +0,0 @@ -{{- $src := .Get "src" | default (.Get 0) -}} -
- -
diff --git a/layouts/shortcodes/youtube.html b/layouts/shortcodes/youtube.html deleted file mode 100644 index 2f85931..0000000 --- a/layouts/shortcodes/youtube.html +++ /dev/null @@ -1,13 +0,0 @@ -{{- $pc := .Page.Site.Config.Privacy.YouTube -}} -{{- if not $pc.Disable -}} -{{- $ytHost := cond $pc.PrivacyEnhanced "www.youtube-nocookie.com" "www.youtube.com" -}} -{{- $id := .Get "id" | default (.Get 0) -}} -
- -
-{{ end -}} \ No newline at end of file