# File lib/jekyll/page.rb, line 45 def template if self.site.permalink_style == :pretty && !index? "/:name/" else "/:name.html" end end