Skip to content

Commit

Permalink
Append the path to the active page in the Onion-Location header so th…
Browse files Browse the repository at this point in the history
…at users aren't taken back to the home page if they switch to .onion
  • Loading branch information
mig5 committed Jun 23, 2020
1 parent 039f9d6 commit 216afd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="onion-location" content="http://qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion" />
<meta http-equiv="onion-location" content="http://qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion{{ page.url | replace:'index.html',''}}" />

<title>
{% if page.title and page.title != site.title and page.layout != 'home' %}
Expand Down

0 comments on commit 216afd0

Please sign in to comment.