Skip to content

Commit

Permalink
Added WarpZone redirect to fix issue #4
Browse files Browse the repository at this point in the history
  • Loading branch information
chipmonkey committed Mar 22, 2023
1 parent fdf5f94 commit 8ca89f7
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 3 deletions.
10 changes: 10 additions & 0 deletions data.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,16 @@
"name": "Contact",
"file": "contact.html",
"showInNav": false
},
{
"name": "Warpzone",
"file": "warpzone.html",
"showInNav": true
},
{
"name": "warpzone/index",
"file": "warpzone.html",
"showInNav": false
}
]
},
Expand Down
10 changes: 10 additions & 0 deletions site.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,16 @@
"name": "Contact",
"file": "contact.html",
"showInNav": false
},
{
"name": "Warpzone",
"file": "warpzone.html",
"showInNav": true
},
{
"name": "warpzone/index",
"file": "warpzone.html",
"showInNav": false
}
]
}
1 change: 1 addition & 0 deletions src/pages/warpzone.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<meta http-equiv="Refresh" content="0; url='http://warpzonelouisville.com/'" />
1 change: 1 addition & 0 deletions src/pages/warpzone/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<meta http-equiv="Refresh" content="0; url='http://warpzonelouisville.com/'" />
5 changes: 2 additions & 3 deletions static-site-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ makeDirIfNotExist(path.join(dest, "css"));
copydir.sync(path.join(src, "css"), path.join(dest, "css"));
makeDirIfNotExist(path.join(dest, "img"));
copydir.sync(path.join(src, "img"), path.join(dest, "img"));
makeDirIfNotExist(path.join(dest, "js"));
copydir.sync(path.join(src, "js"), path.join(dest, "js"));

makeDirIfNotExist(path.join(dest, "warpzone"));
copydir.sync(path.join(src, "pages/warpzone"), path.join(dest, "warpzone"));


let data = {};
Expand Down

0 comments on commit 8ca89f7

Please sign in to comment.