This is an automated email from the ASF dual-hosted git repository.
jin pushed a commit to branch fix-cs
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-doc.git
The following commit(s) were added to refs/heads/fix-cs by this push:
new 7b47e4e2 move meta
7b47e4e2 is described below
commit 7b47e4e26466f2c3b1943fce35e3dee27bd2d993
Author: imbajin <[email protected]>
AuthorDate: Fri Feb 14 16:50:36 2025 +0800
move meta
---
themes/docsy/layouts/_default/baseof.html | 7 -------
themes/docsy/layouts/partials/head.html | 3 +--
2 files changed, 1 insertion(+), 9 deletions(-)
diff --git a/themes/docsy/layouts/_default/baseof.html
b/themes/docsy/layouts/_default/baseof.html
index 2980b473..258a54ad 100644
--- a/themes/docsy/layouts/_default/baseof.html
+++ b/themes/docsy/layouts/_default/baseof.html
@@ -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
}}">
diff --git a/themes/docsy/layouts/partials/head.html
b/themes/docsy/layouts/partials/head.html
index d22b9de5..61f42cce 100644
--- a/themes/docsy/layouts/partials/head.html
+++ b/themes/docsy/layouts/partials/head.html
@@ -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 }}">