aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-05-16 03:08:34 -0400
committertdro <tdro@noreply.example.com>2022-05-16 03:08:34 -0400
commitefebd74d531e87d7dfb1bec88ab3969eae5c99c7 (patch)
treeb88e8f736524055f2d2fb947993ca3789d56aaf5
parent94a4d8aff54484cb741afc887578abf439a95f2e (diff)
downloadcanory-efebd74d531e87d7dfb1bec88ab3969eae5c99c7.tar.gz
canory-efebd74d531e87d7dfb1bec88ab3969eae5c99c7.tar.bz2
canory-efebd74d531e87d7dfb1bec88ab3969eae5c99c7.zip
themes/default/layouts/partials/head-csp.html: Remove base
Cannot satisfy all pages.
-rw-r--r--themes/default/layouts/partials/head-csp.html1
-rw-r--r--themes/default/layouts/partials/meta.html2
2 files changed, 1 insertions, 2 deletions
diff --git a/themes/default/layouts/partials/head-csp.html b/themes/default/layouts/partials/head-csp.html
index a369069..9519e14 100644
--- a/themes/default/layouts/partials/head-csp.html
+++ b/themes/default/layouts/partials/head-csp.html
@@ -4,7 +4,6 @@
{{ $upgrade = "upgrade-insecure-requests;" }}
{{- end -}}
-<base href="{{ .Site.BaseURL }}">
<meta name="referrer" content="{{ .Site.Params.csp.referrer }}">
{{ printf `
diff --git a/themes/default/layouts/partials/meta.html b/themes/default/layouts/partials/meta.html
index 5325e06..608f3dc 100644
--- a/themes/default/layouts/partials/meta.html
+++ b/themes/default/layouts/partials/meta.html
@@ -56,7 +56,7 @@
&middot; {{- partial "expiry-date.html" . -}}
{{- end -}}
- &middot; <cite><a title="#{{ partial "card-id.html" . }}" href="{{ .Site.BaseURL }}/#{{ partial "card-id.html" . }}">#id</a></cite>
+ &middot; <cite><a title="#{{ partial "card-id.html" . }}" href="#{{ partial "card-id.html" . }}">#id</a></cite>
{{ if not .ExpiryDate }}
&middot; <cite><a title="{{ .Site.BaseURL }}/raw/{{ $source }}" href="{{ .Site.BaseURL }}/raw/{{ $source }}">raw</a></cite>