aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/baseof.html2
-rw-r--r--layouts/partials/footer.html5
-rw-r--r--staticwebapp.config.json8
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 &copy; 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 &copy; 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