diff options
author | vvveiii <cntrump@gmail.com> | 2019-12-31 15:12:51 +0300 |
---|---|---|
committer | vvveiii <cntrump@gmail.com> | 2019-12-31 15:12:51 +0300 |
commit | 88a943746c9fbe7ea8c89f403bfeb8da1a07ac31 (patch) | |
tree | b42b462ba88e7271282062c1727911f00b6c50ff /README.md | |
parent | 19b218a05317727cf3ca5c4cd2a3bcc7a1dcef60 (diff) |
support bundle custom css files into core.css.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -18,6 +18,7 @@ Features - Pagination with large number of pages supporting - Light & Dark Mode - Google analytics supporting +- Custom CSS supporting Preview the exampleSite: @@ -222,6 +223,25 @@ You can relayout copyright like this: </div> ``` +### Custom CSS supporting + +``` +[params.assets] +css = ["css/font.css", "css/color.css"] +``` + +On user-side: + +``` +. +└── assets + └── css + ├── color.css + └── font.css +``` + +`color.css` and `font.css` will be bundled into `core.css`. + ## Thanks - [**Hugo**](https://gohugo.io/) |