diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-11-17 04:02:00 +0300 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-11-17 04:02:00 +0300 |
commit | bdd7fad6feda53bd54452ba7d2ac41d6224fbf45 (patch) | |
tree | 7c1f17ad727885b11ee5ca6a38c4ae4c108ca6d6 /Rules | |
parent | b872e678ddf2998c0d6da50460b3c03d332414fc (diff) |
More specific ToC inclusion rule.
Diffstat (limited to 'Rules')
-rw-r--r-- | Rules | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ end compile '/**/*.md' do if item[:redirect].nil? - include_toc = item.identifier.to_s.end_with?("README.md") ? false : true + include_toc = item.identifier.to_s.split("/")[2] == "README.md" ? false : true # Use Redcarpet with Rouge. filter :redcarpet, |