Permalink
Browse files

updating flipflop version

  • Loading branch information...
1 parent 6c0b67e commit 6b15e6e5f0b2981a8d3868f5862809dadaf32ebf @selfcontained committed Sep 15, 2013
View
@@ -1,4 +1,5 @@
.DS_Store
-node_modules
+/node_modules
public
-fabfile.pyc
+fabfile.pyc
+/npm-debug.log
View
@@ -14,5 +14,13 @@
}
},
"articles": "articles",
- "domain": "http://selfcontained.us"
+ "domain": "http://selfcontained.us",
+ "routes": {
+ "archive": "/archive",
+ "article": "/:year/:month/:day/:slug",
+ "error": "/404.html",
+ "homepage": "/",
+ "feed": "/feed/rss.xml",
+ "tag": "/tag/:tag"
+ }
}
View
@@ -7,7 +7,7 @@
},
"version" : "0.0.3",
"dependencies" : {
- "flipflop" : "*"
+ "flipflop" : "0.1.0"
},
"engine": {
"node": ">=0.6"
@@ -3,7 +3,7 @@ div.meta
ul.tags
each tag inarticle.tags
li
- a(href="/tag/"+tag+"/") #{tag}
+ a(href=blog.routes.tag.replace(':tag', tag)) #{tag}
if article.author.gravatar
img(src="http://www.gravatar.com/avatar/"+article.author.gravatar_hash+"?s=30.jpg", width="30", height="30")
@@ -2,7 +2,7 @@
!{xml}
rss(version="2.0")
channel
- title #{blogTitle}
+ title #{blog.title}
link(href=domain)
author
name Brad Harris
@@ -1,7 +1,7 @@
extends layout
block title
- #{title}
+ #{blog.title}
block sidebar
@@ -16,7 +16,7 @@ html(lang="en")
header
h1
- a(href="/") selfcontained
+ a(href=blog.routes.homepage) selfcontained
small [web development]
div#content-container
@@ -19,6 +19,6 @@ h3 links
ul
li
- a(href="/archive/") archive
+ a(href=blog.routes.archive) archive
li
- a(href="/feed/rss.xml") feed
+ a(href=blog.routes.feed) feed

0 comments on commit 6b15e6e

Please sign in to comment.