Skip to content

Commit

Permalink
Merge pull request #14 from XhmikosR/patch-1
Browse files Browse the repository at this point in the history
Change HTML title to "Redirecting..."
  • Loading branch information
burkestar authored May 31, 2020
2 parents b2730b2 + cdb56ca commit d8c0b8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkdocs_redirects/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def write_html(site_dir, old_path, new_path):
<html lang="en">
<head>
<meta charset="utf-8">
<title>{url}</title>
<title>Redirecting...</title>
<link rel="canonical" href="{url}">
<meta name="robots" content="noindex">
<script>var anchor=window.location.hash.substr(1);location.href="{url}"+(anchor?"#"+anchor:"")</script>
Expand Down

0 comments on commit d8c0b8b

Please sign in to comment.