updated README and config

master
putro 2020-04-28 18:29:27 +02:00
parent 8d908f2fb8
commit f63ec76b97
2 changed files with 29 additions and 9 deletions

View File

@ -1,4 +1,6 @@
# presentazione-gnupg
# presentazione docker for dummies
## hugo dockerizzato
immagine docker di hugo (static site generator)
@ -8,12 +10,13 @@ che usa un sottomodulo per avere un tema che usa reveal.js per gestire la presen
utilizzo:
# docker-compose up -d
```shell
foo@bar:~# docker-compose up -d
```
la presentazione e' visibile su
http://localhost:1313
[http://localhost:1313](http://localhost:1313)
il contenuto della presentazione e' nella cartella content,
se lo si modifica viene immediatamente modificata la presentazione
@ -22,7 +25,23 @@ se lo si modifica viene immediatamente modificata la presentazione
al termine della presentazione:
# docker stop hugo && docker rm hugo
```shell
foo@bar:~# docker stop hugo && docker rm hugo
```
## hugo non dockerizzato
la stessa presentazione si puo' visualizzare usando direttamente hugo senza usare docker
(la versione 0.54 funziona, per le successive non so)
lanciare hugo da questa cartella
```shell
foo@bar:~# hugo server
```
la presentazione e' visibile su
[http://localhost:1313](http://localhost:1313)

View File

@ -12,12 +12,13 @@ isHTML = true
custom_theme = "reveal-hugo/themes/robot-lung.css"
#custom_theme = "reveal-hugo/themes/sunblind.css"
history = true
slide_number = false
transition = 'slide'
transition_speed = 'fast'
slide_number = true
transition = 'convex'
transition_speed = 'normal'
#highlight_theme = "zenburn"
#highlight_theme = "solarized-dark"
progress = true
#theme = "solarized"
[markup.goldmark.renderer]
unsafe = true