mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-27 09:45:45 +03:00
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.
12 lines
467 B
HTML
12 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>
|