Skip to content

Commit fd3c089

Browse files
committed
Include #hash in redirects; resolves #57
1 parent 87843c0 commit fd3c089

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGES.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changes
22

3+
## v1.0.1 (in progress)
4+
5+
### Bug fixes
6+
7+
- When redirecting to another page, include the `#hash`
8+
39
## v1.0.0 (2021-04-10)
410

511
### New features

mike/templates/redirect.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta http-equiv="refresh" content="1; url={{href}}" />
88
</noscript>
99
<script>
10-
window.location.replace("{{href}}");
10+
window.location.replace("{{href}}" + window.location.hash);
1111
</script>
1212
</head>
1313
<body>

0 commit comments

Comments
 (0)