fixing icon page locations

This commit is contained in:
davegandy 2013-05-16 21:00:50 -04:00
parent 0c998be49c
commit a77f21471b
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ plugins: build/_plugins
pygments: true
permalink: pretty
# used in building icon pages
icon_meta: build/icons.yml
icon_layout: icon.html # Relative to _layouts directory
icon_destination: icon # Relative to destination

View File

@ -14,7 +14,7 @@ module Jekyll
@site = site
@base = base
@dir = dir
@name = "#{icon['id']}/index.html"
@name = "#{icon['id']}.html"
@icon = icon
self.process(@name)