From 0772d1f026184ea61887b7ed426f6a19c518b017 Mon Sep 17 00:00:00 2001 From: Oskar Thoren Date: Mon, 29 Mar 2021 10:06:51 +0800 Subject: [PATCH] Move example content to dedicated folder --- example-content/README.md | 3 ++ example-content/_index.md | 41 +++++++++++++++++++ .../docs/example/_index.md | 0 .../example/collapsed/3rd-level/4th-level.md | 0 .../example/collapsed/3rd-level/_index.md | 0 .../docs/example/collapsed/_index.md | 0 .../docs/example/hidden.md | 0 .../docs/example/table-of-contents/_index.md | 0 .../example/table-of-contents/with-toc.md | 0 .../example/table-of-contents/without-toc.md | 0 .../docs/shortcodes/_index.md | 0 .../docs/shortcodes/buttons.md | 0 .../docs/shortcodes/columns.md | 0 .../docs/shortcodes/details.md | 0 .../docs/shortcodes/expand.md | 0 .../docs/shortcodes/hints.md | 0 .../docs/shortcodes/katex.md | 0 .../docs/shortcodes/mermaid.md | 0 .../docs/shortcodes/section/_index.md | 0 .../docs/shortcodes/section/page1.md | 0 .../docs/shortcodes/section/page2.md | 0 .../docs/shortcodes/tabs.md | 0 example-content/menu/index.md | 22 ++++++++++ {content => example-content}/posts/_index.md | 0 .../posts/creating-a-new-theme.md | 0 .../posts/goisforlovers.md | 0 .../posts/hugoisforlovers.md | 0 .../posts/migrate-from-jekyll.md | 0 28 files changed, 66 insertions(+) create mode 100644 example-content/README.md create mode 100644 example-content/_index.md rename {content => example-content}/docs/example/_index.md (100%) rename {content => example-content}/docs/example/collapsed/3rd-level/4th-level.md (100%) rename {content => example-content}/docs/example/collapsed/3rd-level/_index.md (100%) rename {content => example-content}/docs/example/collapsed/_index.md (100%) rename {content => example-content}/docs/example/hidden.md (100%) rename {content => example-content}/docs/example/table-of-contents/_index.md (100%) rename {content => example-content}/docs/example/table-of-contents/with-toc.md (100%) rename {content => example-content}/docs/example/table-of-contents/without-toc.md (100%) rename {content => example-content}/docs/shortcodes/_index.md (100%) rename {content => example-content}/docs/shortcodes/buttons.md (100%) rename {content => example-content}/docs/shortcodes/columns.md (100%) rename {content => example-content}/docs/shortcodes/details.md (100%) rename {content => example-content}/docs/shortcodes/expand.md (100%) rename {content => example-content}/docs/shortcodes/hints.md (100%) rename {content => example-content}/docs/shortcodes/katex.md (100%) rename {content => example-content}/docs/shortcodes/mermaid.md (100%) rename {content => example-content}/docs/shortcodes/section/_index.md (100%) rename {content => example-content}/docs/shortcodes/section/page1.md (100%) rename {content => example-content}/docs/shortcodes/section/page2.md (100%) rename {content => example-content}/docs/shortcodes/tabs.md (100%) create mode 100644 example-content/menu/index.md rename {content => example-content}/posts/_index.md (100%) rename {content => example-content}/posts/creating-a-new-theme.md (100%) rename {content => example-content}/posts/goisforlovers.md (100%) rename {content => example-content}/posts/hugoisforlovers.md (100%) rename {content => example-content}/posts/migrate-from-jekyll.md (100%) diff --git a/example-content/README.md b/example-content/README.md new file mode 100644 index 00000000..cfc8d3ce --- /dev/null +++ b/example-content/README.md @@ -0,0 +1,3 @@ +# About + +Example content from template site. Kept around to have examples of formatting, pages etc. Separate directory to not mess with live content. diff --git a/example-content/_index.md b/example-content/_index.md new file mode 100644 index 00000000..6123c282 --- /dev/null +++ b/example-content/_index.md @@ -0,0 +1,41 @@ +--- +title: Introduction +type: docs +--- + +# Acerbo datus maxime + +{{< columns >}} +## Astris ipse furtiva + +Est in vagis et Pittheus tu arge accipiter regia iram vocatur nurus. Omnes ut +olivae sensit **arma sorori** deducit, inesset **crudus**, ego vetuere aliis, +modo arsit? Utinam rapta fiducia valuere litora _adicit cursu_, ad facies + +<---> + +## Suis quot vota + +Ea _furtique_ risere fratres edidit terrae magis. Colla tam mihi tenebat: +miseram excita suadent es pecudes iam. Concilio _quam_ velatus posset ait quod +nunc! Fragosis suae dextra geruntur functus vulgata. +{{< /columns >}} + + +## Tempora nisi nunc + +Lorem **markdownum** emicat gestu. Cannis sol pressit ducta. **Est** Idaei, +tremens ausim se tutaeque, illi ulnis hausit, sed, lumina cutem. Quae avis +sequens! + + var panel = ram_design; + if (backup + system) { + file.readPoint = network_native; + sidebar_engine_device(cell_tftp_raster, + dual_login_paper.adf_vci.application_reader_design( + graphicsNvramCdma, lpi_footer_snmp, integer_model)); + } + +## Locis suis novi cum suoque decidit eadem + +Idmoniae ripis, at aves, ali missa adest, ut _et autem_, et ab? diff --git a/content/docs/example/_index.md b/example-content/docs/example/_index.md similarity index 100% rename from content/docs/example/_index.md rename to example-content/docs/example/_index.md diff --git a/content/docs/example/collapsed/3rd-level/4th-level.md b/example-content/docs/example/collapsed/3rd-level/4th-level.md similarity index 100% rename from content/docs/example/collapsed/3rd-level/4th-level.md rename to example-content/docs/example/collapsed/3rd-level/4th-level.md diff --git a/content/docs/example/collapsed/3rd-level/_index.md b/example-content/docs/example/collapsed/3rd-level/_index.md similarity index 100% rename from content/docs/example/collapsed/3rd-level/_index.md rename to example-content/docs/example/collapsed/3rd-level/_index.md diff --git a/content/docs/example/collapsed/_index.md b/example-content/docs/example/collapsed/_index.md similarity index 100% rename from content/docs/example/collapsed/_index.md rename to example-content/docs/example/collapsed/_index.md diff --git a/content/docs/example/hidden.md b/example-content/docs/example/hidden.md similarity index 100% rename from content/docs/example/hidden.md rename to example-content/docs/example/hidden.md diff --git a/content/docs/example/table-of-contents/_index.md b/example-content/docs/example/table-of-contents/_index.md similarity index 100% rename from content/docs/example/table-of-contents/_index.md rename to example-content/docs/example/table-of-contents/_index.md diff --git a/content/docs/example/table-of-contents/with-toc.md b/example-content/docs/example/table-of-contents/with-toc.md similarity index 100% rename from content/docs/example/table-of-contents/with-toc.md rename to example-content/docs/example/table-of-contents/with-toc.md diff --git a/content/docs/example/table-of-contents/without-toc.md b/example-content/docs/example/table-of-contents/without-toc.md similarity index 100% rename from content/docs/example/table-of-contents/without-toc.md rename to example-content/docs/example/table-of-contents/without-toc.md diff --git a/content/docs/shortcodes/_index.md b/example-content/docs/shortcodes/_index.md similarity index 100% rename from content/docs/shortcodes/_index.md rename to example-content/docs/shortcodes/_index.md diff --git a/content/docs/shortcodes/buttons.md b/example-content/docs/shortcodes/buttons.md similarity index 100% rename from content/docs/shortcodes/buttons.md rename to example-content/docs/shortcodes/buttons.md diff --git a/content/docs/shortcodes/columns.md b/example-content/docs/shortcodes/columns.md similarity index 100% rename from content/docs/shortcodes/columns.md rename to example-content/docs/shortcodes/columns.md diff --git a/content/docs/shortcodes/details.md b/example-content/docs/shortcodes/details.md similarity index 100% rename from content/docs/shortcodes/details.md rename to example-content/docs/shortcodes/details.md diff --git a/content/docs/shortcodes/expand.md b/example-content/docs/shortcodes/expand.md similarity index 100% rename from content/docs/shortcodes/expand.md rename to example-content/docs/shortcodes/expand.md diff --git a/content/docs/shortcodes/hints.md b/example-content/docs/shortcodes/hints.md similarity index 100% rename from content/docs/shortcodes/hints.md rename to example-content/docs/shortcodes/hints.md diff --git a/content/docs/shortcodes/katex.md b/example-content/docs/shortcodes/katex.md similarity index 100% rename from content/docs/shortcodes/katex.md rename to example-content/docs/shortcodes/katex.md diff --git a/content/docs/shortcodes/mermaid.md b/example-content/docs/shortcodes/mermaid.md similarity index 100% rename from content/docs/shortcodes/mermaid.md rename to example-content/docs/shortcodes/mermaid.md diff --git a/content/docs/shortcodes/section/_index.md b/example-content/docs/shortcodes/section/_index.md similarity index 100% rename from content/docs/shortcodes/section/_index.md rename to example-content/docs/shortcodes/section/_index.md diff --git a/content/docs/shortcodes/section/page1.md b/example-content/docs/shortcodes/section/page1.md similarity index 100% rename from content/docs/shortcodes/section/page1.md rename to example-content/docs/shortcodes/section/page1.md diff --git a/content/docs/shortcodes/section/page2.md b/example-content/docs/shortcodes/section/page2.md similarity index 100% rename from content/docs/shortcodes/section/page2.md rename to example-content/docs/shortcodes/section/page2.md diff --git a/content/docs/shortcodes/tabs.md b/example-content/docs/shortcodes/tabs.md similarity index 100% rename from content/docs/shortcodes/tabs.md rename to example-content/docs/shortcodes/tabs.md diff --git a/example-content/menu/index.md b/example-content/menu/index.md new file mode 100644 index 00000000..810bcfd1 --- /dev/null +++ b/example-content/menu/index.md @@ -0,0 +1,22 @@ +--- +headless: true +--- + +- [**Example Site**]({{< relref "/docs/example" >}}) +- [Table of Contents]({{< relref "/docs/example/table-of-contents" >}}) + - [With ToC]({{< relref "/docs/example/table-of-contents/with-toc" >}}) + - [Without ToC]({{< relref "/docs/example/table-of-contents/without-toc" >}}) +- [Collapsed]({{< relref "/docs/example/collapsed" >}}) + - [3rd]({{< relref "/docs/example/collapsed/3rd-level" >}}) + - [4th]({{< relref "/docs/example/collapsed/3rd-level/4th-level" >}}) +
+ +- **Shortcodes** +- [Buttons]({{< relref "/docs/shortcodes/buttons" >}}) +- [Columns]({{< relref "/docs/shortcodes/columns" >}}) +- [Expand]({{< relref "/docs/shortcodes/expand" >}}) +- [Hints]({{< relref "/docs/shortcodes/hints" >}}) +- [Katex]({{< relref "/docs/shortcodes/katex" >}}) +- [Mermaid]({{< relref "/docs/shortcodes/mermaid" >}}) +- [Tabs]({{< relref "/docs/shortcodes/tabs" >}}) +
diff --git a/content/posts/_index.md b/example-content/posts/_index.md similarity index 100% rename from content/posts/_index.md rename to example-content/posts/_index.md diff --git a/content/posts/creating-a-new-theme.md b/example-content/posts/creating-a-new-theme.md similarity index 100% rename from content/posts/creating-a-new-theme.md rename to example-content/posts/creating-a-new-theme.md diff --git a/content/posts/goisforlovers.md b/example-content/posts/goisforlovers.md similarity index 100% rename from content/posts/goisforlovers.md rename to example-content/posts/goisforlovers.md diff --git a/content/posts/hugoisforlovers.md b/example-content/posts/hugoisforlovers.md similarity index 100% rename from content/posts/hugoisforlovers.md rename to example-content/posts/hugoisforlovers.md diff --git a/content/posts/migrate-from-jekyll.md b/example-content/posts/migrate-from-jekyll.md similarity index 100% rename from content/posts/migrate-from-jekyll.md rename to example-content/posts/migrate-from-jekyll.md