From bb74d688d80638ebef4b0d9de7a15023160793cd Mon Sep 17 00:00:00 2001 From: Heydon Pickering Date: Wed, 12 Jul 2017 15:20:00 +0100 Subject: [PATCH] better pathing and video pattern --- content/patterns/media/_index.md | 4 + .../{writing => media}/including-images.md | 0 content/patterns/media/including-videos.md | 9 + docs/index.html | 28 +- docs/index.xml | 14 +- docs/patterns/coding/code-blocks/index.html | 28 +- .../coding/codepen-embedding/index.html | 28 +- .../patterns/coding/color-palettes/index.html | 28 +- docs/patterns/coding/index.html | 28 +- docs/patterns/coding/tested/index.html | 32 +- .../coding/writing-inline-demos/index.html | 30 +- docs/patterns/index.html | 28 +- docs/patterns/installation/index.html | 28 +- docs/patterns/library-setup/index.html | 28 +- .../including-images/index.html | 30 +- .../media/including-videos/index.html | 264 ++++++++++++++++ docs/patterns/media/index.html | 281 ++++++++++++++++++ docs/patterns/media/index.xml | 34 +++ docs/patterns/serving/index.html | 28 +- .../writing/expandable-sections/index.html | 28 +- docs/patterns/writing/index.html | 38 +-- docs/patterns/writing/index.xml | 10 - .../writing/library-structure/index.html | 28 +- .../writing/markdown-and-metadata/index.html | 28 +- .../writing/notes-and-warnings/index.html | 28 +- docs/patterns/writing/references/index.html | 28 +- docs/service-worker.js | 2 +- docs/sitemap.xml | 10 +- themes/infusion/layouts/_default/baseof.html | 12 +- .../infusion/layouts/shortcodes/tested.html | 6 +- 30 files changed, 1008 insertions(+), 160 deletions(-) create mode 100644 content/patterns/media/_index.md rename content/patterns/{writing => media}/including-images.md (100%) create mode 100644 content/patterns/media/including-videos.md rename docs/patterns/{writing => media}/including-images/index.html (96%) create mode 100644 docs/patterns/media/including-videos/index.html create mode 100644 docs/patterns/media/index.html create mode 100644 docs/patterns/media/index.xml 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