diff options
author | 2017-09-14 22:02:20 +0200 | |
---|---|---|
committer | 2017-10-12 22:47:59 +0200 | |
commit | 2d9e3e5a5ff0c60f8373f7fe2e52d518208c2e29 (patch) | |
tree | ff4fc016a66c67688bfef3ddcf6d0096d1598fb1 | |
parent | glep: Fix initial-header-level (diff) | |
download | www-2d9e3e5a5ff0c60f8373f7fe2e52d518208c2e29.tar.gz www-2d9e3e5a5ff0c60f8373f7fe2e52d518208c2e29.tar.bz2 www-2d9e3e5a5ff0c60f8373f7fe2e52d518208c2e29.zip |
glep: Include table-of-contents
-rw-r--r-- | _plugins/gleps.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_plugins/gleps.rb b/_plugins/gleps.rb index abd2576..3955c3a 100644 --- a/_plugins/gleps.rb +++ b/_plugins/gleps.rb @@ -55,7 +55,7 @@ module Gentoo @replacedby = $1 if line =~ /^Replaced-By: (.*)$/ break if line.chomp.empty? end - @content = RbST.new(lines.join('')).to_html( + @content = RbST.new(".. contents::\n..\n\n" + lines.join('')).to_html( 'initial-header-level' => 2) glep_data = { |