Refactored _post-index generation to use YAML front matter in markdown files rather than inferring from HTML