From e860fc9bfa717a34faaca161707e003f5e88cfc9 Mon Sep 17 00:00:00 2001 From: Alexander Bilz <mail@alexbilz.com> Date: Tue, 05 May 2020 12:38:00 +0000 Subject: [PATCH] Added option for custom CSS --- README.md | 19 ++++++++++++++----- 1 files changed, 14 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2270e22..7367af0 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ * Katex support * MIT License * Fontawesome icons +* Custom CSS ## Preview the exampleSite ``` @@ -38,7 +39,7 @@ Ìn this section I'll discuss the custom parameters available within the `config.toml`. The complete [sample](https://github.com/lxndrblz/anatole/blob/master/exampleSite/config.toml) can be found in the exampleSite folder. ### Profile picture and slogan -``` +```toml [params] title = "I'm Jane Doe" author = "Jane Doe" @@ -47,7 +48,7 @@ ``` ### Navigation items Non-content entries can be added right from the `config.toml` file. -``` +```toml [menu] [[menu.main]] @@ -70,22 +71,30 @@ ``` ### Comments powered by Disqus No comment section is shown on the `single.html`, unless a disqus code is specified in the `config.toml` file. -``` +```toml disqusShortname = "XXX" ``` ### Google Analytics To use Google Analytics, a valid tracking code has to be added. If you don't want to load the code, then commend out the parameter. -``` +```toml googleAnalytics = "UA-123-45" ``` ### Beautiful math functions -``` +```toml ## Math settings [params.math] enable = false # options: true, false. Enable math support globally, default: false. You can always enable math on per page. use = "katex" # options: "katex", "mathjax". default is "katex". ``` + +### Custom CSS +You can add your custom CSS files with the `customCss` parameter of the configuration file. Put your files into the `static/css` directory. + +```toml +customCss = ["css/custom1.css", "css/custom2.css"] +``` + ## License Anatole is licensed under the [MIT license](https://github.com/lxndrblz/anatole/blob/master/LICENSE). -- Gitblit v1.10.0