Signed-off-by: lannyfu <lannyfu@kubesphere.io>
This commit is contained in:
lannyfu 2025-07-31 11:26:16 +08:00
parent 7efa597aa4
commit 6bd857191a

View File

@ -6,8 +6,17 @@
(hasPrefix .RelPermalink "/docs/v4.1") }}
{{ if $disabled }}
{{ .Render "404" }}
{{ .Scratch.Set "renderEnabled" false }}
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; url=/404.html">
<script>window.location = '/404.html';</script>
<meta name="robots" content="noindex,nofollow">
<meta http-equiv="Cache-Control" content="no-store">
</head>
<body></body>
</html>
{{ return }}
{{ end }}
<!DOCTYPE html>