Method: Jekyll::Page#template
- Defined in:
- lib/ngage/jekyll/page.rb
#template ⇒ Object
The template of the permalink.
Returns the template String.
84 85 86 87 88 89 90 91 92 |
# File 'lib/ngage/jekyll/page.rb', line 84 def template if !html? "/:path/:basename:output_ext" elsif index? "/:path/" else Utils.add_permalink_suffix("/:path/:basename", site.permalink_style) end end |