diff options
author | Emiel Hollander <EmielH@users.noreply.github.com> | 2019-03-03 17:09:57 +0300 |
---|---|---|
committer | Emiel Hollander <EmielH@users.noreply.github.com> | 2019-03-03 17:09:57 +0300 |
commit | 34868a963c7f62a95f3126a3b9ff4ed6208051eb (patch) | |
tree | e7953044314c8646f3583ee66330447eaf8f04a9 /README.md | |
parent | 64eaadc5a0be9e727950bc3879eeb7ab55eba9db (diff) |
Add option to include additional CSS filesv1.1.0
Put additional CSS files in the static folder of your site and add the
filenames to config.toml in the css parameter.
See #13
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -96,6 +96,22 @@ The copyright message in the footer uses the name of the author of the site, as name = "Emiel" ``` +### Additional CSS files + +The theme can load additional CSS files for you, e.g. to override some of the styles, or the CSS that goes with a component that you're using. To add additional CSS files, put these files in the `static` folder of your site and add the `css` parameter to `config.toml`, like so: + +``` +[Params] +css = ["custom.css"] +``` + +To load multiple CSS files, use the parameter like this: + +``` +[Params] +css = ["custom.css", "custom2.css"] +``` + ## Acknowledgments Thanks |