diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-09-14 23:14:58 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-10-12 22:47:59 +0200 |
commit | e9132598d46121043b3fc004378cd038576592d6 (patch) | |
tree | 680bab398f0aabd73bc2a2ea0ad7c4c9f6a0cdd8 /_plugins | |
parent | glep: Add CSS to fix style (diff) | |
download | www-e9132598d46121043b3fc004378cd038576592d6.tar.gz www-e9132598d46121043b3fc004378cd038576592d6.tar.bz2 www-e9132598d46121043b3fc004378cd038576592d6.zip |
glep: Update for .txt -> .rst rename
Diffstat (limited to '_plugins')
-rw-r--r-- | _plugins/gleps.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_plugins/gleps.rb b/_plugins/gleps.rb index 137b08d..631e47c 100644 --- a/_plugins/gleps.rb +++ b/_plugins/gleps.rb @@ -8,7 +8,7 @@ module Gentoo site.data['gleps'] ||= [] Dir.chdir(GLEP_DIR) do - Dir.glob('glep-[0-9][0-9][0-9][0-9].txt').reverse_each do |name| + Dir.glob('glep-[0-9][0-9][0-9][0-9].rst').reverse_each do |name| begin site.pages << GLEPPage.new(site, name) rescue @@ -26,7 +26,7 @@ module Gentoo @site = site @base = @site.source @dir = GLEPGenerator::GLEP_DIR - @name = "#{name.chomp('.txt')}.html" + @name = "#{name.chomp('.rst')}.html" process(@name) read_yaml(File.join(@base, GLEPGenerator::GLEP_DIR), name) |