Skip to content

Commit

Permalink
Merge branch 'master' of github.com:docs-theme-org/pianotri-schede-bdin
Browse files Browse the repository at this point in the history
  • Loading branch information
francescozaia committed Nov 6, 2018
2 parents a2b7453 + 0676c50 commit 5c609b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/redirect_template/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<script>
var document_url = window.location.href.match(/\/\/[^\/]*\/([^\/]*)\/([^\/]*)\/(.*)/);
var language = document_url[1].replace('en', 'it');
var version = document_url[2].replace('latest', 'bozza').replace('stable', 'stabile');
var version = document_url[2].replace('latest', 'stabile').replace('stable', 'stabile');
var document_page = document_url[3];
var redirect_url = [
'https://{{ domain }}',
Expand All @@ -24,4 +24,4 @@
window.location.href = redirect_url;
document.getElementById('redirect').href = redirect_url;
</script>
</html>
</html>

0 comments on commit 5c609b4

Please sign in to comment.