class Jekyll::ArchivesV2::Archive
def relative_path
Obtain the write path relative to the destination directory
def relative_path @relative_path ||= begin path = URL.unescape_path(url).gsub(%r!^/!, "") path = File.join(path, "index.html") if url.end_with?("/") path end end