Skip to content

Commit

Permalink
Merge pull request #5 from LouisvilleMakesGames/cml-warpzone-link-tweak
Browse files Browse the repository at this point in the history
Added WarpZone redirect to fix issue #4
  • Loading branch information
AlexBezuska authored Mar 22, 2023
2 parents 1826be2 + 3f87dac commit 38ed368
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
5 changes: 5 additions & 0 deletions data.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
"file": "games.html",
"showInNav": true
},
{
"name": "Warpzone",
"file": "warpzone.html",
"showInNav": true
},
{
"name": "Resources",
"file": "resources.html",
Expand Down
5 changes: 5 additions & 0 deletions site.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
"file": "games.html",
"showInNav": true
},
{
"name": "Warpzone",
"file": "warpzone.html",
"showInNav": true
},
{
"name": "Resources",
"file": "resources.html",
Expand Down
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 38ed368

Please sign in to comment.