From 209ff907b5c9ae2e6878ec4dd1e1645eb06b0b8d Mon Sep 17 00:00:00 2001 From: dzello Date: Mon, 13 Aug 2018 16:45:40 +0200 Subject: [PATCH] Rename and improve section example --- exampleSite/content/example/_index.md | 10 ---------- exampleSite/content/section-example/_index.md | 18 ++++++++++++++++++ .../presentation.md | 3 ++- 3 files changed, 20 insertions(+), 11 deletions(-) delete mode 100644 exampleSite/content/example/_index.md create mode 100644 exampleSite/content/section-example/_index.md rename exampleSite/content/{example => section-example}/presentation.md (51%) diff --git a/exampleSite/content/example/_index.md b/exampleSite/content/example/_index.md deleted file mode 100644 index 91a81a7..0000000 --- a/exampleSite/content/example/_index.md +++ /dev/null @@ -1,10 +0,0 @@ -+++ -title = "Example of a section presentation" -outputs = ["Reveal"] -[reveal_hugo] -theme = "moon" -+++ - -# Section Presentation - -Only content from this section will go into this presentation. \ No newline at end of file diff --git a/exampleSite/content/section-example/_index.md b/exampleSite/content/section-example/_index.md new file mode 100644 index 0000000..b4c95f3 --- /dev/null +++ b/exampleSite/content/section-example/_index.md @@ -0,0 +1,18 @@ ++++ +title = "Example of a section presentation" +outputs = ["Reveal"] +[reveal_hugo] +theme = "moon" ++++ + +# Section Presentation + +This is an example of a section presentation. + +--- + +Section presentations are completely separate from the root presentation and each other. + +--- + +Additional content files can be placed in the section and will be added to the presentation in the order of their weight. \ No newline at end of file diff --git a/exampleSite/content/example/presentation.md b/exampleSite/content/section-example/presentation.md similarity index 51% rename from exampleSite/content/example/presentation.md rename to exampleSite/content/section-example/presentation.md index 585bab5..0309317 100644 --- a/exampleSite/content/example/presentation.md +++ b/exampleSite/content/section-example/presentation.md @@ -4,4 +4,5 @@ weight = 10 # Including... -Content from files like this one. \ No newline at end of file +Content from files like this one. +