Skip to content

Commit

Permalink
move meta
Browse files Browse the repository at this point in the history
  • Loading branch information
imbajin committed Feb 14, 2025
1 parent 24c060e commit 7b47e4e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
7 changes: 0 additions & 7 deletions themes/docsy/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
<!doctype html>
<html lang="{{ .Site.Language.Lang }}" class="no-js">
<head>
<!-- To handle CSP policy -->
<meta http-equiv="Content-Security-Policy"
content="
script-src 'self' 'unsafe-inline' 'unsafe-eval' https://analytics.apache.org https://code.jquery.com https://cdn.jsdelivr.net https://fonts.googleapis.com/;
style-src 'self' 'unsafe-inline' https://code.jquery.com https://cdn.jsdelivr.net https://fonts.googleapis.com/;
font-src 'self' https://fonts.googleapis.com/;
default-src 'self';">
{{ partial "head.html" . }}
</head>
<body class="td-{{ .Kind }}{{ with .Page.Params.body_class }} {{ . }}{{ end }}">
Expand Down
3 changes: 1 addition & 2 deletions themes/docsy/layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
content="
script-src 'self' 'unsafe-inline' 'unsafe-eval' https://analytics.apache.org https://code.jquery.com https://cdn.jsdelivr.net https://fonts.googleapis.com/;
style-src 'self' 'unsafe-inline' https://code.jquery.com https://cdn.jsdelivr.net https://fonts.googleapis.com/;
font-src 'self' https://fonts.googleapis.com/;
default-src 'self';">
">
{{ hugo.Generator }}
{{ range .AlternativeOutputFormats -}}
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
Expand Down

0 comments on commit 7b47e4e

Please sign in to comment.