Permalink
Browse files

code fix and related link

  • Loading branch information...
1 parent 9be1b43 commit 2f2803bce17829e82870aacebdd0bfa366100339 @clarkdave committed Mar 8, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 content/posts/2012-02-14-building-a-static-blog-with-nanoc.md
@@ -156,8 +156,7 @@ Go ahead and add a new *route* rule, but place it above the `route '*' do ...` l
#!ruby
route '/posts/*' do
- y,m,d,slug = /([0-9]+)\-([0-9]+)\-([0-9]+)\-([^\/]+)/
- .match(item.identifier).captures
+ y,m,d,slug = /([0-9]+)\-([0-9]+)\-([0-9]+)\-([^\/]+)/.match(item.identifier).captures
"/#{y}/#{m}/#{slug}/index.html"
end
@@ -388,4 +387,5 @@ Thanks for reading!
#### Related posts
-* [Building a static portfolio with nanoc](/2012/05/building-a-static-portfolio-with-nanoc/)
+* [Building a static portfolio with nanoc](/2012/05/building-a-static-portfolio-with-nanoc/)
+* [Syntax highlighting in nanoc](/2013/03/syntax-highlighting-in-nanoc/)

0 comments on commit 2f2803b

Please sign in to comment.