class Jekyll::ArchivesV2::Archives

def years(documents)

Custom `post_attr_hash` method for years
def years(documents)
  date_attr_hash(documents.docs, "%Y")
end