fixed to use YAML metadata instead of pandoc titleblock