This commit is contained in:
Henrique Dias
2015-09-20 22:00:25 +01:00
parent 96e4ec0baf
commit 6f972d1ae4
4 changed files with 29 additions and 6 deletions

View File

@@ -4,14 +4,17 @@ This is an add-on for Caddy which wants to deliver a good UI to edit the content
## Add-on configuration
You can define, or not, the admin UI styles. It will **not** replace the default ones, it will be included after it. The path must be relative to ```public``` folder.
```
hugo {
styles [file]
styles file
flags flags...
}
```
+ **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```.
## Try it
### Prepare your machine