diff --git a/content/patterns/media/_index.md b/content/patterns/media/_index.md new file mode 100644 index 0000000..c586e20 --- /dev/null +++ b/content/patterns/media/_index.md @@ -0,0 +1,4 @@ ++++ +title = "Media" +weight = 2 ++++ diff --git a/content/patterns/writing/including-images.md b/content/patterns/media/including-images.md similarity index 100% rename from content/patterns/writing/including-images.md rename to content/patterns/media/including-images.md diff --git a/content/patterns/media/including-videos.md b/content/patterns/media/including-videos.md new file mode 100644 index 0000000..4ff651a --- /dev/null +++ b/content/patterns/media/including-videos.md @@ -0,0 +1,9 @@ ++++ +title = "Including videos" ++++ + +**Infusion** has a lot of its own shortcodes, but you can still use Hugo's [built in shortcodes](https://gohugo.io/extras/shortcodes#built-in-shortcodes). These include a simple shortcode for including YouTube videos in your content. The shortcode takes just one parameter — the video's `id`. + +{{}} +{{< youtube w7Ft2ymGmfc >}} +{{}} diff --git a/docs/index.html b/docs/index.html index 380e748..7c092f7 100644 --- a/docs/index.html +++ b/docs/index.html @@ -149,13 +149,6 @@ -
  • - - - Including images - -
  • -
  • @@ -173,6 +166,27 @@
  • +
  • +

    Media

    +
    +
  • +
  • Coding

  • +
  • +

    Media

    +
    +
  • +
  • Coding

  • +
  • +

    Media

    +
    +
  • +
  • Coding

  • +
  • +

    Media

    +
    +
  • +
  • Coding

  • +
  • +

    Media

    +
    +
  • +
  • Coding

  • +
  • +

    Media

    +
    +
  • +
  • Coding

  • +
  • +

    Media

    +
    +
  • +
  • Coding

  • +
  • +

    Media

    +
    +
  • +
  • Coding

  • +
  • +

    Media

    +
    +
  • +
  • Coding

  • +
  • +

    Media

    +
    +
  • +
  • Coding

  • +
  • +

    Media

    +
    +
  • +
  • Coding

  • +
  • +

    Media

    +
    +
  • +
  • Coding

  • +
  • +

    Media

    +
    +
  • +
  • Coding

  • +
  • +

    Media

    +
    +
  • +
  • Coding

  • +
  • +

    Media

    +
    +
  • +
  • Coding

  • +
  • +

    Media

    +
    +
  • +
  • Coding

  • +
  • +

    Media

    +
    +
  • +
  • Coding

  • +
  • +

    Media

    +
    +
  • +
  • Coding