Skip to content

Commit

Permalink
💄 docs: add code type to codeblock
Browse files Browse the repository at this point in the history
  • Loading branch information
welpo committed Jul 17, 2023
1 parent f859113 commit b6f7f80
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion content/blog/security.ca.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ La configuració per defecte del tema obté una puntuació A+ a l'[Observatori d

Això s'aconsegueix configurant programàticament les capçaleres de la Política de Seguretat de Contingut (CSP) basant-se en una llista de dominis permesos definida per l'usuari en el fitxer `config.toml`. Aquí tens la configuració per defecte i recomanada (pots eliminar l'última directiva si no vols inserir vídeos de YouTube):

```
```toml
[extra]
allowed_domains = [
{ directive = "font-src", domains = ["'self'", "data:"] },
Expand Down
2 changes: 1 addition & 1 deletion content/blog/security.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ La configuración predeterminada del tema obtiene una calificación de A+ en [Mo

Esto se logra configurando programáticamente las cabeceras de la Política de Seguridad de Contenido (CSP) en función de una lista de dominios permitidos definida por el usuario en el archivo `config.toml`. Aquí tienes la configuración predeterminada y recomendada (puedes eliminar la última directiva si no deseas insertar videos de YouTube):

```
```toml
[extra]
allowed_domains = [
{ directive = "font-src", domains = ["'self'", "data:"] },
Expand Down
2 changes: 1 addition & 1 deletion content/blog/security.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The default configuration of the theme gets an A+ score on [Mozilla Observatory]

This is accomplished by programatically configuring Content Security Policy (CSP) headers based on a user-defined list of allowed domains in the `config.toml` file. Here's the default and recommended setup (you could remove the last directive if you don't want to embed YouTube videos):

```
```toml
[extra]
allowed_domains = [
{ directive = "font-src", domains = ["'self'", "data:"] },
Expand Down

0 comments on commit b6f7f80

Please sign in to comment.