class Sitepress::BuildPaths::DirectoryIndexPath
In many cases, you'll want to serve up `pages/blah.html.haml` as `/blah` on hosts like S3. To achieve this effect, we have to compile `pages/blah.html.haml` to a folder with the filename `index.html`, so the final path would be `/blah/index.html`
Public Instance Methods
filename_with_default_format()
click to toggle source
# File lib/sitepress/build_paths/directory_index_path.rb, line 7 def filename_with_default_format File.join(node.name, "#{node.default_name}.#{format}") end