This commit is contained in:
Henrique Dias
2015-09-27 19:30:43 +01:00
5 changed files with 58 additions and 26 deletions

View File

@@ -8,15 +8,21 @@ Deploy your Hugo website and enjoy of an admin interface with Caddy server.
## Configuration
```
<<<<<<< HEAD
staticmin {
=======
cms {
>>>>>>> 7b68c78b12d9b7aee61788d5e85cd3b0722906de
styles file
flags flags...
hugo true / false # default is true
command command # needed when hugo is false
args args... # hugo or whatever command flags/args
}
```
+ **file** is the relative path to ```public``` folder of the admin UI styles. They will not replace the defaults, they will be added.
+ **flags** are the Hugo flags (those which can be set in the command line) and they must follow one of these syntaxes: ```-f=value``` and ```--flag=value```.
+ **args** are the Hugo flags (those which can be set in the command line) and they must follow one of these syntaxes: ```-f=value``` and ```--flag=value```.
## Build it from source