add gitlab ci
This commit is contained in:
parent
e8f2c3ddec
commit
8553d217e2
3 changed files with 47 additions and 14 deletions
15
.gitlab-ci.yml
Normal file
15
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
|
||||||
|
image: monachus/hugo
|
||||||
|
|
||||||
|
variables:
|
||||||
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
|
|
||||||
|
pages:
|
||||||
|
script:
|
||||||
|
- hugo -s exampleSite
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- exampleSite/public
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
|
|
@ -1,22 +1,18 @@
|
||||||
+++
|
+++
|
||||||
title = "reveal-hugo"
|
title = "Example of a section presentation"
|
||||||
description = "A Hugo theme for creating Reveal.js presentations"
|
|
||||||
outputs = ["Reveal"]
|
outputs = ["Reveal"]
|
||||||
[reveal_hugo]
|
[reveal_hugo]
|
||||||
custom_theme = "reveal-hugo/themes/robot-lung.css"
|
theme = "moon"
|
||||||
margin = 0.2
|
|
||||||
highlight_theme = "color-brewer"
|
|
||||||
transition = "slide"
|
|
||||||
transition_speed = "fast"
|
|
||||||
[reveal_hugo.templates.hotpink]
|
|
||||||
class = "hotpink"
|
|
||||||
background = "#FF4081"
|
|
||||||
+++
|
+++
|
||||||
|
|
||||||
# 📽️
|
# 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/) ~
|
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.
|
||||||
|
|
22
exampleSite/content/home/_index.md
Normal file
22
exampleSite/content/home/_index.md
Normal file
|
@ -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/) ~
|
Loading…
Reference in a new issue