ddfreyne changed the topic of #nanoc to: 3.8.0 (May 4th) - 4.0.0rc2 (July 11th) | 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
matthieu_m has quit [Quit: Leaving.]
dkm has quit [Ping timeout: 246 seconds]
larissa has quit [Ping timeout: 246 seconds]
larissa has joined #nanoc
dkm has joined #nanoc
pkunc has quit [Quit: Leaving.]
<musicmatze> How to generate items with nanoc 4? I added my @items.create() call in the preprocess Rules block, but the items are not created. Maybe I'm doing something wrong in the generator logic... I don't know yet, I will report back asap
pkunc has joined #nanoc
pkunc has quit [Client Quit]
pkunc has joined #nanoc
warptangent has quit [Remote host closed the connection]
warptangent has joined #nanoc
<musicmatze> nvm, found out myself.
<musicmatze> I have another question: In a layout X, I render something with yield. I want to access variables from the content I rendered inside the yield call. They are not accessible via @item, unfortunately.
<musicmatze> nvm, found another way
cDlm is now known as VitamineD
VitamineD has quit [Quit: mi dormas]
<musicmatze> How can I pass options to pygementsrb in nanoc? I want to override the theme pygments shall use...
pkunc has quit [Quit: Leaving.]
<musicmatze> well, the "other way" I found is ugly. Maybe someone can come up with a solution for the following problem... :
<musicmatze> I have a layout which has a TOC in it. I compile my articles and apply the layout on them. Inside the articles I want to be able to specify sections and each section should, of course, appear in the TOC.
<musicmatze> ATM I'm doing the following: I have a helper Foo::Helper.new_section "bar" which creates the <hN> tags and stores the name of the section in a @sections variable.
<musicmatze> The layout then uses this variable to generate the TOC and the anker links
<musicmatze> on the very beginning of each article, I have to call my Foo::Article.new! method to re-set this very array to empty state.
<musicmatze> well, I could do that inside the layout after creating the TOC, but that wouldn't be a clean solution either, would it
prxq has joined #nanoc
tom[] has quit [Ping timeout: 244 seconds]
tom[] has joined #nanoc
zi has quit [Ping timeout: 268 seconds]
zi has joined #nanoc
prxq has quit [Remote host closed the connection]