diff options
| author | Anoduck, The Anonymous Duck <9925396+anoduck@users.noreply.github.com> | 2025-03-30 20:50:04 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-30 20:50:04 +0000 |
| commit | 4f840706434b62b72361ef2664836bd98dcdc249 (patch) | |
| tree | 60ae03083076cd666a637319f08657f3e786ea46 /Attic/alias.html | |
| parent | f358dd43e71176630405d118742efbdbd9146278 (diff) | |
| parent | 640338b79641fa3a1957a38f9e449b05444f579c (diff) | |
Merge pull request #93 from anoduck/develop
docs(Added-to-docs)
Diffstat (limited to 'Attic/alias.html')
| -rw-r--r-- | Attic/alias.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Attic/alias.html b/Attic/alias.html new file mode 100644 index 0000000..d220f68 --- /dev/null +++ b/Attic/alias.html @@ -0,0 +1,15 @@ +{{- $url := .Permalink -}} +{{- $match := findRE "[A-Z]" $url -}} +{{ if $match -}} + {{- $lower_url := $url | lower -}} + <!DOCTYPE html> + <html lang={{ site.LanguageCode }} > + <head> + <title>Page Redirection {{ .Permalink | relLangURL }}</title> + <link rel="canonical" href="{{ .Permalink | relLangURL }}" /> + <meta charset="utf-8" /> + <meta name="robots" content="noindex"> + <meta http-equiv="refresh" content="0; url={{ $lower_url }}"> + </head> + </html> +{{ end -}}
\ No newline at end of file |
