Skip to content

Commit

Permalink
fix: custom stylesheet documentation (closes #103)
Browse files Browse the repository at this point in the history
  • Loading branch information
not-matthias committed Feb 15, 2025
1 parent e3ff2f8 commit 6d173d5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ socials = [
{ name = "github", url = "https://github.com/not-matthias/", icon = "github" },
]

custom_css = []
stylesheets = [
#"custom.css" # at /static/custom.css
]

[extra.analytics]
enabled = false
Expand Down
14 changes: 14 additions & 0 deletions content/posts/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,20 @@ Specifies the path to the favicon image for your blog.

This sets the small icon that appears in the browser tab for your website.

## Custom Stylesheets (`stylesheets`)

Allows you to add custom stylesheets to your blog.

- Type: Array of files located in the `static` directory
- Default: []
- Usage:
```toml
stylesheets = [
"custom.css", # static/custom.css
"/css/another.css" # static/css/another.css
]
```

## Fancy Code Styling (`fancy_code`)

Enables enhanced styling for code blocks.
Expand Down

0 comments on commit 6d173d5

Please sign in to comment.