Skip to content

Commit

Permalink
make all the tag pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ephe committed Aug 26, 2014
1 parent cc9b094 commit 72740b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Expand Up @@ -7,7 +7,7 @@ baseurl: "/grimoire" # the subpath of your site, e.g. /blog/
url: "http://ephe.github.io" # the base hostname & protocol for your site
source-url: "https://github.com/ephe/grimoire/"
permalink: "/:categories/:title"
exclude: ['Gemfile', 'Gemfile.lock', 'Rakefile']
exclude: ['Gemfile', 'Gemfile.lock', 'Rakefile', 'README.md']

# Build settings
markdown: kramdown
Expand Down
6 changes: 2 additions & 4 deletions _plugins/tag_gen.rb
Expand Up @@ -9,10 +9,8 @@ def initialize(site, base, dir, tag)

self.process(@name)
self.read_yaml(File.join(base, '_layouts'), 'tag_index.html')
unless (tag.include? "cantrip") || (tag.include? "level")
self.data['tag'] = tag
self.data['title'] = tag.capitalize
end
self.data['tag'] = tag
self.data['title'] = tag.capitalize
end
end

Expand Down

0 comments on commit 72740b0

Please sign in to comment.