Summary Files Commits Branches @commit @diff @stats
path: root / website / js / header.js
diff options
context:
space:
mode:
1 files changed, 3 insertions, 1 deletions
-rw-r--r--website/js/header.js4
diff --git a/website/js/header.js b/website/js/header.js
index 45bd1b6..21986b4 100644
--- a/website/js/header.js
+++ b/website/js/header.js
@@ -2,8 +2,10 @@ const pageGroups = {
main: {
Tutorials: 'tutorials.html',
Projects: 'projects.html',
+ Blog: 'blog.html',
Home: 'index.html',
About: 'about.html',
+ Contact: 'contact.html',
Resume: 'resume.html'
},
mundus: {
@@ -45,7 +47,7 @@ const current = {
const generator = {
generateTabs: function (tabTitles) {
let toReturn = '';
- tabTitles.forEach(item => { toReturn += `<a href="./${current.pageGroup[item]}" class="${item === current.tab ? 'selected-tab' : 'other-tab'}">${item}</a> `; });
+ tabTitles.forEach(item => { toReturn += `<a href="./${current.pageGroup[item]}" class="${item === current.tab ? 'selected-tab' : 'other-tab'}">${item}</a>`; });
return toReturn;
},
generateFull: function () {