Method: Jekyll::Page#relative_path

Defined in:
lib/ngage/jekyll/page.rb

#relative_pathObject

The path to the page source file, relative to the site source



146
147
148
# File 'lib/ngage/jekyll/page.rb', line 146

def relative_path
  File.join(*[@dir, @name].map(&:to_s).reject(&:empty?)).sub(%r!\A\/!, "")
end