From 453b08068cded937b0b1d5d260ecc931aef17e4d Mon Sep 17 00:00:00 2001 From: Martin/Geno Date: Fri, 7 Dec 2018 02:06:54 +0100 Subject: [PATCH] add gitlab ci --- .gitlab-ci.yml | 15 +++++++++++++++ exampleSite/content/_index.md | 24 ++++++++++-------------- 2 files changed, 25 insertions(+), 14 deletions(-) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..bcce534 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,15 @@ + +image: monachus/hugo + +variables: + GIT_SUBMODULE_STRATEGY: recursive + +pages: + script: + - hugo -s exampleSite + artifacts: + paths: + - exampleSite/public + only: + - master + diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md index fba3be6..6528ea4 100644 --- a/exampleSite/content/_index.md +++ b/exampleSite/content/_index.md @@ -1,22 +1,18 @@ +++ -title = "reveal-hugo" -description = "A Hugo theme for creating Reveal.js presentations" +title = "Example of a section presentation" outputs = ["Reveal"] [reveal_hugo] -custom_theme = "reveal-hugo/themes/robot-lung.css" -margin = 0.2 -highlight_theme = "color-brewer" -transition = "slide" -transition_speed = "fast" -[reveal_hugo.templates.hotpink] -class = "hotpink" -background = "#FF4081" +theme = "moon" +++ -# 📽️ +# Section Presentation -# reveal-hugo +This is an example of a section presentation. -A Hugo theme for creating Reveal.js presentations. +--- -~ made by [@dzello](https://dzello.com/) ~ \ No newline at end of file +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.