julieeharshaw has quit [Ping timeout: 240 seconds]
TobiasFar has joined #nanoc
leobalter has quit [Ping timeout: 245 seconds]
leobalter_fancy_ has joined #nanoc
leobalter_fancy_ is now known as leobalter
julieeharshaw has joined #nanoc
cDlm has quit [Quit: mi dormas]
cDlm has joined #nanoc
pkunc has joined #nanoc
pkunc has quit [Quit: Leaving.]
jugglinmike has joined #nanoc
jugglinmike has quit [Remote host closed the connection]
cDlm is now known as VitamineD
cootcraig has quit [Quit: WeeChat 1.0.1]
pkunc has joined #nanoc
pkunc has quit [Ping timeout: 240 seconds]
pkunc has joined #nanoc
pkunc has quit [Client Quit]
pkunc has joined #nanoc
pkunc has quit [Quit: Leaving.]
FabianB has joined #nanoc
FabianB_ has quit [Ping timeout: 264 seconds]
<guardian>
uh, I still totally don't get nanoc-sprockets3 gem
<guardian>
imho if you choose nanoc, it's for its built-in pipeline and I don't get why you would defer that logic to sprockets
pkunc has joined #nanoc
pkunc has quit [Client Quit]
VitamineD has quit [Ping timeout: 272 seconds]
cDlm has joined #nanoc
Evolution has joined #nanoc
<Evolution>
I'm looking through the documentation but I'm struggling a bit with using a yaml file to be used as data for generating another page
<Evolution>
example, I have a yaml file with name, image, and url attributes that I'd like to iterate over on the index.erb.
<Evolution>
I'm not sure the proper way to do this with nanoc though
<Evolution>
it looks like I *might* want to do this via an item hook and raw_content?
pkunc has joined #nanoc
cootcraig has joined #nanoc
cootcraig has quit [Quit: WeeChat 1.0.1]
<ddfreyne>
Evolution: You can iterate over a list in YAML like <% @item[:list].each do |elem| %> <%= elem[:name] %> or so -- would that help?
pkunc has quit [Quit: Leaving.]
<Evolution>
ddfreyne: probably, but I'm... (is there something worse than terrible?) bad with ruby. could you elaborate a bit more on how I would do that?
<Evolution>
I'm not sure from your example if you're suggesting I provide the yaml in the .erb itself, or if I could use a separate file.