From e8f2c3ddec583304e0c36a22b9ef4d38af994e40 Mon Sep 17 00:00:00 2001 From: Martin/Geno Date: Fri, 7 Dec 2018 00:36:20 +0100 Subject: [PATCH] cleanup --- README.md | 12 +----------- exampleSite/.forestry/settings.yml | 12 ------------ exampleSite/layouts/partials/reveal-hugo/body.html | 7 ------- layouts/_default/{baseof.reveal.html => baseof.html} | 0 layouts/_default/{index.reveal.html => index.html} | 0 layouts/_default/{list.reveal.html => list.html} | 0 layouts/_default/{single.reveal.html => single.html} | 0 7 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 exampleSite/.forestry/settings.yml delete mode 100644 exampleSite/layouts/partials/reveal-hugo/body.html rename layouts/_default/{baseof.reveal.html => baseof.html} (100%) rename layouts/_default/{index.reveal.html => index.html} (100%) rename layouts/_default/{list.reveal.html => list.html} (100%) rename layouts/_default/{single.reveal.html => single.html} (100%) diff --git a/README.md b/README.md index 79ea31e..bc23416 100644 --- a/README.md +++ b/README.md @@ -29,16 +29,6 @@ Holá. Just use `---` to split content into different slides. -## Demo - -Visit [reveal-hugo.dzello.com](https://reveal-hugo.dzello.com/) to see a presentation created with this theme and learn more about what you can do. Jump to the [exampleSite](exampleSite) folder in this repository to see the source code for that presentation. - -For a full-length blog post about reveal-hugo, checkout [Harness the Power of Static Site Generators to Create Presentations](https://forestry.io/blog/harness-the-power-of-static-to-create-presentations/) on the [Forestry.io blog](https://forestry.io/blog). - -## Boilerplate - -If you want to start creating a presentation right away, clone the [programming-quotes](https://github.com/dzello/programming-quotes) repository and start hacking. - ## Tutorial You should be able to complete this section with no prior knowledge of Hugo or Reveal.js. At the end, you'll have a working presentation with instant reloading. @@ -364,7 +354,7 @@ If you need to add something to the HTML layout, you can create partials that li This is the recommended way to add custom CSS and JavaScript to each presentation. > 💡 Tip: In Hugo, partials live in the `layouts` folder: -> +> > For example, if you have HTML that is to be placed before every presentation, this would be the structure: > ``` > - layouts diff --git a/exampleSite/.forestry/settings.yml b/exampleSite/.forestry/settings.yml deleted file mode 100644 index 8130263..0000000 --- a/exampleSite/.forestry/settings.yml +++ /dev/null @@ -1,12 +0,0 @@ ---- -new_page_extension: md -auto_deploy: false -admin_path: -webhook_url: -sections: -upload_dir: "./exampleSite/static/uploads" -public_path: "/uploads" -front_matter_path: '' -use_front_matter_path: false -file_template: ":filename:" -version: 0.38.1 diff --git a/exampleSite/layouts/partials/reveal-hugo/body.html b/exampleSite/layouts/partials/reveal-hugo/body.html deleted file mode 100644 index 196c799..0000000 --- a/exampleSite/layouts/partials/reveal-hugo/body.html +++ /dev/null @@ -1,7 +0,0 @@ - - \ No newline at end of file diff --git a/layouts/_default/baseof.reveal.html b/layouts/_default/baseof.html similarity index 100% rename from layouts/_default/baseof.reveal.html rename to layouts/_default/baseof.html diff --git a/layouts/_default/index.reveal.html b/layouts/_default/index.html similarity index 100% rename from layouts/_default/index.reveal.html rename to layouts/_default/index.html diff --git a/layouts/_default/list.reveal.html b/layouts/_default/list.html similarity index 100% rename from layouts/_default/list.reveal.html rename to layouts/_default/list.html diff --git a/layouts/_default/single.reveal.html b/layouts/_default/single.html similarity index 100% rename from layouts/_default/single.reveal.html rename to layouts/_default/single.html