Explorar el Código

fixing icon page locations

davegandy hace 12 años
padre
commit
a77f21471b
Se han modificado 2 ficheros con 2 adiciones y 1 borrados
  1. 1 0
      _config.yml
  2. 1 1
      build/_plugins/icon_page_generator.rb

+ 1 - 0
_config.yml

@@ -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

+ 1 - 1
build/_plugins/icon_page_generator.rb

@@ -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)