small fix: error when the file extension markdown

small fix: error when the file extension markdown ("does not match the format {year}-{month}-{day}-{slug}.(md|markdown)")