<justicefries>
is there a way to have layout inheritance? I have a markdown file for an article, but I want it to have an HTML header not present in the default layout
<justicefries>
but I don't want to maintain 2 full layouts.
<justicefries>
found it
alerante has quit [Remote host closed the connection]
alerante has joined #nanoc
alerante has quit [Ping timeout: 240 seconds]
bghost has joined #nanoc
bghost has quit [Client Quit]
koan has quit [Read error: Connection reset by peer]
koan has joined #nanoc
terinjokes has quit [Ping timeout: 250 seconds]
irsol has quit [Ping timeout: 250 seconds]
irsol has joined #nanoc
terinjokes has joined #nanoc
<guardian>
bobthecow, justicefries: ignore is equivalent to both compile and route do nil
<guardian>
o/
<justicefries>
o/
<justicefries>
thanks. :D
<bobthecow>
guardian: "<bobthecow> yeah. it just provides an empty block for both." :)
<ddfreyne>
You guys are still using nanoc 3? Cute :)
FunkyPenguin has joined #nanoc
<guardian>
ddfreyne: tss
<guardian>
bobthecow: do you have some code that extracts a toc from html by chance? something that produces a nested array or hash that reflects the document tree
<guardian>
ddfreyne: can you remember the need for your :remove_spacing_around_pre filter on nanoc.ws?
<ddfreyne>
guardian: Without that filter, <pre>s start with an empty line otherwise
<ddfreyne>
I don't actually use that anymore I think
<guardian>
ok
<ddfreyne>
guardian: There will likely be no 3.6.10 (because that is an awkward version number), so straight to 3.7.0
<guardian>
ok
<ddfreyne>
After I finish the JRuby stuff, I will get to thoroughly reviewing your PRs
<ddfreyne>
All visitors have left yesterday evening… unfortunately I have new visitors coming over tomorrow afternoon, so I am not sure how much time I will have the next few days
<guardian>
:)
<guardian>
that's great
<guardian>
enjoy it
<ddfreyne>
It’s a bit too much.
<travis-ci>
[travis-ci] nanoc/nanoc/bug/fix-jruby-failures 1e58cc5 Denis Defreyne: The build was fixed.
<guardian>
ddfreyne: after I polish my toc helper, I need to add syntax highlighting. Which colorizer do you recommend?
<ddfreyne>
guardian: pygments.rb
<guardian>
ok, out of curiosity why?
<guardian>
do I get right I can write the following markdown
<guardian>
#!ruby
<guardian>
def foo
<guardian>
"I'm a markdown code block"
<guardian>
end
<guardian>
if I filter by :kramdown then :colorize_syntax, I get the markdown converted to <pre><code>#!ruby...</code></pre> with "#!ruby" kept, then the colorize filter remove the comment that indicates the language?