ddfreyne changed the topic of #nanoc to: 3.6.6 (nov 8th) | web http://nanoc.ws/ | repo http://bit.ly/XE6e3G | issues http://bit.ly/VfXaSV | forum http://ho.io/n-discuss | irclog http://irclog.whitequark.org/nanoc
pavelkunc has quit [Quit: Leaving.]
VitamineD has quit [Quit: VitamineD]
alerante has joined #nanoc
alerante has quit [Ping timeout: 252 seconds]
alerante has joined #nanoc
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…]
jarr0dsz has joined #nanoc
<ddfreyne> Still front page of http://mediaqueri.es/ whee
VitamineD has joined #nanoc
<guardian> hi
<guardian> hey what's the ruby way to ensure my urls have a trailing '/'
<guardian> I can do it in many ways, just looking for the idiomatic one
<stbuehler> i'd probably go for: s += '/' unless s[-1] == '/'
<guardian> th
<guardian> x
pavelkunc has joined #nanoc
pavelkunc has quit [Quit: Leaving.]
jarr0dsz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jarr0dsz has joined #nanoc
jarr0dsz has quit [Client Quit]
cDlm has joined #nanoc
VitamineD has quit [Ping timeout: 265 seconds]
cDlm is now known as VitamineD
alerante has joined #nanoc
<guardian> ddfreyne: I noticed stats at the end of nanoc compile -V are totally badly formatted here: http://s29.postimg.org/a7l0ng09j/Screen_Shot_2013_11_30_at_4_09_05_PM.png
alerante has quit []
pavelkunc has joined #nanoc
jarr0dsz has joined #nanoc
ics has joined #nanoc
jugglinmike has joined #nanoc
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
jarr0dsz has joined #nanoc
ics has joined #nanoc
ics has quit [Ping timeout: 260 seconds]
pavelkunc has quit [Quit: Leaving.]