forked from mirror/gitea
30d9222267
When `<!DOCTYPE html>` is present, the default (and only valid) charset it `utf-8` so it does not need to be specified. Also we do serve with HTML with `Content-Type: text/html; charset=utf-8`, so it is duplicate info anyways.
13 lines
467 B
HTML
13 lines
467 B
HTML
<!DOCTYPE html>
|
|
<html{{ with site.LanguageCode | default site.Language.Lang }} lang="{{ . }}"{{ end }}>
|
|
<head>
|
|
<title>{{ .Permalink }}</title>
|
|
<link rel="canonical" href="{{ .Permalink }}">
|
|
<meta name="robots" content="noindex">
|
|
<noscript><meta http-equiv="refresh" content="0; url={{ .Permalink }}"></noscript>
|
|
<script>
|
|
window.location = "{{ .Permalink }}" + window.location.search + window.location.hash;
|
|
</script>
|
|
</head>
|
|
</html>
|