feat(config): add dynamic stylesheet loading

Allow custom stylesheets loading on a site-wide or per-page basis.
This commit is contained in:
welpo 2023-08-26 14:44:12 +02:00
parent 1c3db86b75
commit 51435a2c47
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6
3 changed files with 30 additions and 2 deletions

View file

@ -61,6 +61,12 @@ default_theme = "light"
# All other skins have optimal contrast.
skin = ""
# List additional stylesheets to load site-wide.
# These stylesheets should be located in your site's `static` directory.
# Example: stylesheets = ["extra1.css", "path/extra2.css"]
# You can load a stylesheet for a single post by adding it to the [extra] section of the post's front matter, following this same format.
stylesheets = []
# Add a "copy" button to codeblocks (loads ~700 bytes of JavaScript).
copy_button = true