class Sitepress::BuildPaths::IndexPath

Compiles pages directly from `/pages/blah.html.haml` to `/blah.html`. Handles root `index` pages too, mainly grabbing the root, which doesn't have a name in the node, to the default_name of the node, which is usually `index`.

Public Instance Methods

filename_with_default_format() click to toggle source
# File lib/sitepress/build_paths/index_path.rb, line 15
def filename_with_default_format
  filename_with_format
end
filename_with_format() click to toggle source
# File lib/sitepress/build_paths/index_path.rb, line 11
def filename_with_format
  "#{node.name}.#{format}"
end
filename_without_format() click to toggle source
# File lib/sitepress/build_paths/index_path.rb, line 7
def filename_without_format
  node.name
end