diff options
author | 2018-07-18 23:57:18 +0200 | |
---|---|---|
committer | 2018-07-18 23:57:18 +0200 | |
commit | dab3a16a6dd33ae6a86e3d1a28afb425aa6f1d40 (patch) | |
tree | 6a19dd3e2f44bcadf3c02a7113338de1fe421fd8 /_plugins | |
parent | Generate WKD for Gentoo developer keys (diff) | |
download | www-dab3a16a6dd33ae6a86e3d1a28afb425aa6f1d40.tar.gz www-dab3a16a6dd33ae6a86e3d1a28afb425aa6f1d40.tar.bz2 www-dab3a16a6dd33ae6a86e3d1a28afb425aa6f1d40.zip |
wkd: Remove unnecessary index, dir listings are disabled
Diffstat (limited to '_plugins')
-rw-r--r-- | _plugins/wkd.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/_plugins/wkd.rb b/_plugins/wkd.rb index b8cf2f4..c225f62 100644 --- a/_plugins/wkd.rb +++ b/_plugins/wkd.rb @@ -31,8 +31,6 @@ module Gentoo end end - # empty index to hide directory listings - site.pages << WKDIndexFile.new(site) # policy file is required site.pages << WKDPolicyFile.new(site) end @@ -56,20 +54,6 @@ module Gentoo end end - class WKDIndexFile < Jekyll::Page - def initialize(site) - @site = site - @base = @site.source - @dir = WKDGenerator::WKD_DIR + 'hu/' - @name = 'index.html' - - process(@name) - read_yaml(File.join(@base, '_layouts'), "passthrough.html") - - @content = '' - end - end - class WKDPolicyFile < Jekyll::Page def initialize(site) @site = site |