ics has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jugglinmike>
strange: I'm trying to use the Mustache filter, and it looks like it's HTML encoding special characters
<jugglinmike>
but when I `require 'mustache'` from irb, I don't see that behavior
<jugglinmike>
The only different between my two builds is the inclusion of the `:mustache` filter, so I'm not sure what's going on--anyone have any ideas?
<jugglinmike>
Hmm.. I wonder if this is somehow related to variable interpolation
<jugglinmike>
Maybe some layouts are being treated as variables (instead of template source strings) when the site is compiled
<jugglinmike>
or content, even
<jugglinmike>
I've added `filter :mustache` to my site's main `compile` block, which seems to be the correct usage
ics has joined #nanoc
<jugglinmike>
hmm, I think it has something to do with `yeild`..
alerante has quit [Remote host closed the connection]
jugglinmike has quit [Quit: Leaving.]
alerante has joined #nanoc
alerante has quit []
ics has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ics has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jugglinmike>
I'm looking to migrate my nanoc site from filtering everything through erb to filtering with mustache. Anyone have a couple minutes for some questions on that?
<tom[]>
jugglinmike: sure. but i only have one: why?
<jugglinmike>
tom[]: Two reasons
jarr0dsz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jugglinmike>
the project's getting large, and people are placing one-off ruby scripts all over the place. I'd like to organize preprocessing code in the preprocess block
<jugglinmike>
also, we're talking about sharing layouts with other projects that may not be nanoc (or even Ruby) based
<tom[]>
i see. the 1st seems independent of erb/templates. unless you feel you can't stop people coding in views except by removing the possibility to write code in views by imposing templates. the 2nd also seems like it can be done easily enough with erb
<tom[]>
i was curious. i probably can't help you, being very ignorant in nanoc