These are chat archives for jescalan/roots

12th
Oct 2016
Ashley Davis
@dualmoon
Oct 12 2016 12:12
@jescalan it looks like the package you use is pug already so it works with both .jade and .pug so that's rad
how do i get metadata into my templates though? i tried adding front matter to a page that would be read by a partial (to check which menu item is inactive) and it didn't seem to work
Tom Kraak
@tkraak
Oct 12 2016 12:20
@dualmoon you can pass locals to your templates from the app.coffee or install a front-matter plugin
Ashley Davis
@dualmoon
Oct 12 2016 12:21
what does locals contain exactly? or where is documentation for that?
Ashley Davis
@dualmoon
Oct 12 2016 12:23
hah ok, well i'll poke around then.
Tom Kraak
@tkraak
Oct 12 2016 12:26
:+1:
we are here to help