ddfreyne changed the topic of #nanoc to: 3.7.0 (June 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
ics has quit [Read error: Connection reset by peer]
ics has joined #nanoc
jugglinmike has quit [Quit: Leaving.]
ics has quit [Ping timeout: 252 seconds]
ics has joined #nanoc
ics has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bobthecow> ctp: you'd have to do it at the server level, since nanoc pages are static.
<bobthecow> but it's totally doable.
<bobthecow> what are you using to serve the site?
<ddfreyne> guardian: nanoc makes no guarantees about ompilation order so that is not possible anyway
<ddfreyne> guardian: Maybe you can use a (cryptographic) hash instead of an autogenerated id?
<guardian> ddfreyne: semantically I need: first call to tabs() from item1 => 1, second call to tabs() from item1 => 2, first call to tabs() from item2 => 1
<guardian> ddfreyne: I can live with a counter that increments each time tabs() is called, whatever the caller. but it's a bit less pretty in the markup but that would be a really minor inconvenience
<ctp> bobthecow: hi, running nginx here
<ctp> looking for an oauth2 connector for nginx right now. perfect setup would be oauth2 against github account
cDlm has quit [Quit: Computer has gone to sleep.]
cDlm has joined #nanoc
tgfrerer_ is now known as tgfrerer
tgfrerer has left #nanoc [#nanoc]
VitamineD has joined #nanoc
VitamineD_ has joined #nanoc
cDlm has quit [Ping timeout: 252 seconds]
VitamineD_ has quit [Read error: Connection reset by peer]
VitamineD has quit [Ping timeout: 248 seconds]
VitamineD_ has joined #nanoc
VitamineD_ is now known as VitamineD
ics has joined #nanoc
francois2 has quit [Excess Flood]
francois2 has joined #nanoc
_whitelogger_ has joined #nanoc
canton7 has joined #nanoc
VitamineD_ has joined #nanoc
VitamineD_ has quit [Remote host closed the connection]
VitamineD_ has joined #nanoc
VitamineD has quit [Ping timeout: 264 seconds]
VitamineD_ is now known as VitamineD
francois2 has quit [Excess Flood]
francois2 has joined #nanoc
jugglinmike has joined #nanoc
francois2 has quit [Excess Flood]
francois2 has joined #nanoc
ics has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
VitamineD has quit [Ping timeout: 240 seconds]
ctp_ has joined #nanoc
ctp has quit [Ping timeout: 272 seconds]
ctp_ has quit [Quit: Textual IRC Client: www.textualapp.com]
prxq has joined #nanoc
ics has joined #nanoc
prxq has quit [Remote host closed the connection]
ics has quit [Ping timeout: 260 seconds]
ics has joined #nanoc
<ics> quick question regarding CompilerDSL#compile: when you pass a :rep to compile, this is where the :rep is defined correct?
<ics> I am filtering images to create pages for each and to do this am using a custom rep, :single_image_rep for example
<ics> I was thinking of defining the rep in the filter itself, but now I realize how stupid that sounds. Nevermind...
<bobthecow> ics: yes, that's where the rep is defined.
<bobthecow> and no, you prolly shouldn't do reps in filters.
<bobthecow> you could extend the dsl with a helper for making your reps, maybe.
<bobthecow> similar to how #passthrough or #ignore just wrap normal calls to #compile and #route
<ics> thanks. it's been a while since I've worked with nanoc and am in a slight crunch, but that makes sense
<ics> at least for now, I'm just trying to make things more convenient by compiling custom reps for all binary files
<ics> and adding a #binary_path method back to the original rep for slightly more convenient templates
ics has quit [Ping timeout: 240 seconds]
<guardian> ddfreyne: so did is use tabs() usecase clear now? :)
ics has joined #nanoc
prxq has joined #nanoc
ics has quit [Ping timeout: 245 seconds]
ics has joined #nanoc
ics has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
prxq has quit [Remote host closed the connection]
jugglinmike has quit [Quit: Leaving.]