class Jekyll::Renderer
Public Instance Methods
permalink_ext()
click to toggle source
# File lib/jekyll/patches/jekyll/renderer.rb, line 6 def permalink_ext if document.permalink && !document.permalink.end_with?("/") ext_match = document.permalink.match(/\.[\w+-]+$/) ext_match[0] unless ext_match.nil? end end