| | |
| | | - Custom JavaScript (optional) |
| | | - Medium like zoom for images |
| | | - Compliant to strict CSP |
| | | - Syntax highlighting |
| | | - Uses Hugo pipes to process assets |
| | | |
| | | ## Preview the exampleSite |
| | |
| | | ``` |
| | | If certain sites shoud be excluded from being accessed, you might want to setup a custom robots.txt file within your `static` folder of your site. |
| | | |
| | | ### Syntax highlighting |
| | | This theme has support for either Hugo's lightning fast Chroma code highlighting. See the [Hugo docs](https://gohugo.io/content-management/syntax-highlighting/) for more information. |
| | | |
| | | To enable Chroma, add the following to your site parameters: |
| | | ``` |
| | | pygmentsCodeFences = true |
| | | pygmentsUseClasses = true |
| | | ``` |
| | | Then, you can generate a different style by running: |
| | | ``` |
| | | hugo gen chromastyles --style=monokailight > assets/css/syntax.css |
| | | ``` |
| | | If you get any errors, make sure the `assets/css/` directory exists within your sites root folder. |
| | | |
| | | ## License |
| | | |
| | | Anatole is licensed under the [MIT license](https://github.com/lxndrblz/anatole/blob/master/LICENSE). |