alerante has quit [Read error: Connection reset by peer]
alerante has joined #nanoc
bghost has quit [Ping timeout: 256 seconds]
alerante has quit [Ping timeout: 260 seconds]
ics has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ics has joined #nanoc
skroon has quit [Ping timeout: 245 seconds]
VitamineD has joined #nanoc
yogsototh has joined #nanoc
yogsototh has quit [Remote host closed the connection]
yogsototh has joined #nanoc
jarr0dsz has joined #nanoc
jarr0dsz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
number-six has quit [Remote host closed the connection]
jarr0dsz has joined #nanoc
number-six has joined #nanoc
jugglinmike has joined #nanoc
jarr0dsz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
skroon has joined #nanoc
tantalum has joined #nanoc
ics has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ics has joined #nanoc
bghost has joined #nanoc
yogsototh has left #nanoc [#nanoc]
tantalum has quit [Ping timeout: 272 seconds]
ics has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skroon has quit [Ping timeout: 265 seconds]
skroon has joined #nanoc
skroon has quit [Ping timeout: 272 seconds]
bghost_ has joined #nanoc
bghost has quit [Read error: Connection reset by peer]
bghost_ has quit [Ping timeout: 272 seconds]
bghost has joined #nanoc
tantalum has joined #nanoc
bghost has quit [Read error: Connection reset by peer]
bghost has joined #nanoc
ics has joined #nanoc
skroon has joined #nanoc
VitamineD has quit [Ping timeout: 256 seconds]
bghost has quit [Quit: leaving]
ics has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skroon has quit [Ping timeout: 272 seconds]
VitamineD has joined #nanoc
<Evolution>
is it possible to import just a snippet of a specific page? For example one section of a markdown page (defined by heading) in another page?
<Evolution>
I'm struggling to find an example of how to do that properly.
skroon has joined #nanoc
bghost has joined #nanoc
<ddfreyne>
Evolution: Hm... you can get the content of another page using #compiled_content (probably :snapshot => :pre)
<ddfreyne>
Evolution: Then you can parse that using Nokogiri and extract the paragraphs you want that way
<Evolution>
ddfreyne: yeah. I was looking to include *just* the export restriction bit of an .md page in a .erb page.
<Evolution>
wasn't sure if there was a way to pull that off.
<ddfreyne>
Evolution: You could probably get the content at the :raw snapshot (meaning the raw markdown content) and then cut off at <!-- full --> or so
skroon has quit [Ping timeout: 240 seconds]
<Evolution>
ddfreyne: I'll give that a shot.
bghost has quit [Ping timeout: 245 seconds]
VitamineD has quit [Ping timeout: 240 seconds]
VitamineD has joined #nanoc
ics has joined #nanoc
skroon has joined #nanoc
skroon has quit [Ping timeout: 245 seconds]
ics has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]