Update URL scheme to include /item/*

* Update the router to understand /item/:name routes in addition to
  v1.0-style parameterized routes
* Add support for updating the current URL based upon the item being
  viewed
* Change LandingPage* to ItemPage*
This commit is contained in:
Andrew Miner
2014-12-28 12:59:29 -08:00
parent 8cde02a10b
commit bf113d26ab
9 changed files with 105 additions and 53 deletions
+1 -1
View File
@@ -8,6 +8,6 @@
.view__header
h1
a(href="/")
img(src="images/workbench_front.png")
img(src="/images/workbench_front.png")
p Crafting Guide
.divider.bottom
+1 -1
View File
@@ -15,7 +15,7 @@ html
meta(charset="UTF-8")
block styles
link(rel="stylesheet", type="text/css", href="css/main.css")
link(rel="stylesheet", type="text/css", href="/css/main.css")
body
.content