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. diff --git a/exampleSite/content/home/_index.md b/exampleSite/content/home/_index.md new file mode 100644 index 0000000..fba3be6 --- /dev/null +++ b/exampleSite/content/home/_index.md @@ -0,0 +1,22 @@ ++++ +title = "reveal-hugo" +description = "A Hugo theme for creating Reveal.js presentations" +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" ++++ + +# 📽️ + +# reveal-hugo + +A Hugo theme for creating Reveal.js presentations. + +~ made by [@dzello](https://dzello.com/) ~ \ No newline at end of file