Skip to content

Commit c4460c5

Browse files
committed
Do tabs in a way consistent with a baseurl (i.e. absolute page refs)
1 parent f088a61 commit c4460c5

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

web/_includes/menu.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<v-app-bar elevation="4" height="48pt" fixed elevate-on-scroll width="100%">
22
<v-tabs v-model="maintabs">
3-
<v-tab href="index.html" key="index"><div class="psij-font logo">PSI/J</div></v-tab>
4-
<v-tab href="install.html" key="install">Install</v-tab>
5-
<v-tab href="docs" key="docs">Documentation</v-tab>
6-
<v-tab href="resources.html" key="resources">Resources</v-tab>
7-
<v-tab href="about.html" key="about">About</v-tab>
3+
<v-tab key="index"><a href="{{site.baseurl}}/index.html"><div class="psij-font logo">PSI/J</div></a></v-tab>
4+
<v-tab key="install"><a href="{{site.baseurl}}/install.html">Install</a></v-tab>
5+
<v-tab key="docs"><a href="{{site.baseurl}}/docs">Documentation</a></v-tab>
6+
<v-tab key="resources"><a href="{{site.baseurl}}/resources.html">Resources</a></v-tab>
7+
<v-tab key="about"><a href="{{site.baseurl}}/about.html">About</a></v-tab>
88
</v-tabs>
99

1010
<div class="slack-link navbar-link">

web/_includes/vueinit.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
el: '#psij-app',
55
vuetify: new Vuetify(),
66
data: {
7-
maintabs: "{{ page.tab }}"
7+
maintabs: {{ page.tab }}
88
}
99
});
1010

web/about.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: About - PSI/J - Python
33
layout: default
4-
tab: about.html
4+
tab: 4
55
---
66

77

web/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: PSI/J - Python
33
layout: default
4-
tab: index.html
4+
tab: 0
55
---
66

77
<div id="main-banner">

web/install.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Install - PSI/J - Python
33
layout: default
4-
tab: install.html
4+
tab: 1
55
---
66

77
<v-row class="page-start">

web/resources.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Resources - PSI/J - Python
33
layout: default
4-
tab: resources.html
4+
tab: 3
55
---
66

77
<v-row class="page-start">

web/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ body .v-application a {
2727
background-color: var(--color-bg-inv-1) !important;
2828
}
2929

30-
.v-app-bar .v-tab {
30+
.v-app-bar .v-tab, .v-app-bar .v-tab a {
3131
color: var(--color-fg-inv-1) !important;
3232
}
3333

0 commit comments

Comments
 (0)