From 9543caf10ffdbcc2cea462a8bcb64cee29d406d5 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Mon, 22 May 2023 23:09:27 -0700 Subject: Syntax Highlighting Variables --- content/overview-embedded-youtube.md | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 content/overview-embedded-youtube.md (limited to 'content/overview-embedded-youtube.md') diff --git a/content/overview-embedded-youtube.md b/content/overview-embedded-youtube.md deleted file mode 100644 index d364730..0000000 --- a/content/overview-embedded-youtube.md +++ /dev/null @@ -1,28 +0,0 @@ -+++ -title = "Embedded Youtube Videos" -description = "Sample article showcasing a custom Zola shortcode for embedding Youtube Videos into your pages." -date = 2021-05-08 -draft = false - -[taxonomies] -categories = ["Features"] -tags = ["shortcodes","video"] -[extra] -keywords = "Video, Shortcodes, Embed, Embedded, Youtube" -+++ - -Zola has many shortcodes, and new are easily added, this example shows youtube. - - -## Youtube - -with `yt(id="the_id_here")` - -- `id`: the video id (mandatory) -- `playlist`: the playlist id (optional) -- `class`: a class to add to the <div> surrounding the iframe (optional) -- `autoplay`: when set to "true", the video autoplays on load (optional) -- `title` - set alt title for the iframe (optional, defaults to "Youtube") -- `cookie` - set to "true" if you want tracking cookies, otherwise it defaults to false. - -{{ yt(id="32gyFIWecuw") }} -- cgit v1.3.1