2
0
Эх сурвалжийг харах

fixing icon page locations

davegandy 12 жил өмнө
parent
commit
a77f21471b

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