diff options
| author | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2024-02-12 23:03:09 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2024-02-12 23:03:09 +0100 |
| commit | 258d89d86ccc6e437f853a7059f0a6b7883b1c01 (patch) | |
| tree | e6aa84c6f1abb415b9dc94b6fa0fbe4d366702b1 | |
| parent | 0608fd841ca954c171bf4f1db1078957ee22cde3 (diff) | |
Some improvements
| -rw-r--r-- | layouts/_default/baseof.html | 2 | ||||
| -rw-r--r-- | layouts/partials/footer.html | 5 | ||||
| -rw-r--r-- | staticwebapp.config.json | 8 |
3 files changed, 13 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 9c33520..40f8a22 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -8,6 +8,8 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>{{ .Page.Title }} - Ariel Costas</title> + <link rel="canonical" href="{{ .Permalink }}"> + <meta name="description" content="{{ .Page.Description }}"> <meta property="og:title" content="{{ .Page.Title }} - Ariel Costas"> diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 1d98e95..35afc9a 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -2,7 +2,8 @@ <footer> <p> - Copyright © 2023 Ariel Costas Guerrero. Todos los derechos reservados.<br> - Cedido bajo licencia <a href="https://creativecommons.org/licenses/by-sa/4.0/deed.es">CC BY-SA 4.0</a> salvo que se indique lo contrario. + Copyright © 2023-{{ .Now.Format('Y') }} Ariel Costas Guerrero. Todos los derechos reservados.<br> + Cedido bajo licencia <a href="https://creativecommons.org/licenses/by-sa/4.0/deed.es">CC BY-SA 4.0</a> salvo que + se indique lo contrario. </p> </footer>
\ No newline at end of file diff --git a/staticwebapp.config.json b/staticwebapp.config.json new file mode 100644 index 0000000..d404c78 --- /dev/null +++ b/staticwebapp.config.json @@ -0,0 +1,8 @@ +{ + "globalHeaders": { + "X-Frame-Options": "DENY", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Content-Security-Policy": "default-src 'none'; script-src 'self'; style-src 'self'; img-src 'self'; font-src 'self'" + } +}
\ No newline at end of file |
