mirror of
https://github.com/welpo/tabi.git
synced 2026-01-26 06:27:48 +01:00
♻️ refactor: improve Zola v0.22.0 compatibility (#612)
This commit is contained in:
parent
7118ae7283
commit
9a09df263a
8 changed files with 47 additions and 22 deletions
|
|
@ -1,7 +1,7 @@
|
|||
+++
|
||||
title = "Secure by default"
|
||||
date = 2023-02-22
|
||||
updated = 2025-02-21
|
||||
updated = 2026-01-14
|
||||
description = "tabi has an easily customizable Content Security Policy (CSP) with safe defaults. Get peace of mind and an A+ on Mozilla Observatory."
|
||||
|
||||
[taxonomies]
|
||||
|
|
@ -35,7 +35,7 @@ You can disable the CSP (allowing all connections) on a page, section, or global
|
|||
**Notes**:
|
||||
|
||||
- [Enabling comments](@/blog/comments/index.md), [analytics](@/blog/mastering-tabi-settings/index.md#analytics), or [mermaid diagrams](@/blog/shortcodes/index.md#mermaid-diagrams) automatically allows scripts/frames/styles/connections as needed.
|
||||
- To use a [Zola built-in syntax highlighting theme](https://www.getzola.org/documentation/getting-started/configuration/#syntax-highlighting), you need to allow `unsafe-inline` in the `style-src` directive:
|
||||
- To use a [Zola built-in syntax highlighting theme](https://www.getzola.org/documentation/content/syntax-highlighting/), you need to allow `unsafe-inline` in the `style-src` directive:
|
||||
|
||||
```
|
||||
{ directive = "style-src", domains = ["'self'", "'unsafe-inline'"] },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue