Skip to content

Commit 2f149bf

Browse files
committed
Fix go to homepage
1 parent f5d33cb commit 2f149bf

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

site/themes/arangodb-docs-theme/layouts/_default/home.notfound.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<h3 style="text-align: center;">Oops… Avocados are not growing here</h3>
1212
</hgroup>
1313
<p style="text-align: center;">
14-
<a href="/stable/" class="link">Back to Home</a>
14+
<a href="/" class="link">Back to Home</a>
1515
</p>
1616
</div>
1717
</article>

site/themes/arangodb-docs-theme/static/js/theme.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,8 +470,7 @@ const goToTop = (event) => {
470470

471471
function goToHomepage(event){
472472
event.preventDefault();
473-
var homepage = "/"; // + getVersionFromURL() + "/";
474-
updateHistory(homepage);
473+
updateHistory("/");
475474
}
476475

477476
function copyURI(evt) {

0 commit comments

Comments
 (0)