I want each new article I generate to automatically populate the frontmatter with the title, date, etc.
In the documentation for blogging under Generating Articles it states you can use instance variables such as @title
to do so, but when I reference that variable in the frontmatter of my custom article template (which is in haml), it doesn’t seem to do anything:
---
title: @title
date: @date
tags:
---
I know it’s likely a rookie mistake. Thanks for your patience!