Assumes that the directory for the year has the relative path "./YYYY" and
the directory for the day has the relative path "./YYYY/day/DD", where
YYYY and DD are the values of year and day. This will be the case if
the post was created using aoc_new_day(). If the directory for the day or
year has a corresponding directory in "./_freeze", that will also be
deleted. Additionally, for aoc_delete_year(), the listing page ./YYYY.qmd
(where YYYY is the value of year) will be deleted.
