Permalink
Browse files

Make sure custom variables are applied in layouts, too.

  • Loading branch information...
1 parent 1f3b3f4 commit 545345552e1404115cff30cf5b6b480e9be34f19 @jgm committed Oct 18, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 Yst/Render.hs
View
@@ -121,6 +121,7 @@ renderPage site page = do
0 -> ""
n -> concat $ replicate n "../"
return $ render
+ . setManyAttrib attrs
. setAttribute "sitetitle" (siteTitle site)
. setAttribute "pagetitle" (pageTitle page)
. setAttribute "gendate" todaysDate

0 comments on commit 5453455

Please sign in to comment.