Using Frontmatter in a page

Hi everyone,

I’ve been using SilverBullet this week and it’s been great so far. Thanks, Zef!

Today I’m working on creating a page template for my 11ty blog. It was a bit of a challenge but I’ve managed to add extra Frontmatter to the template. Now when I create a new post using the template it renders the post’s Frontmatter correctly. Super.

Similar to 11ty/Nunjucks, I’d like to be able to reference some of the Frontmatter and display it on the page. For example:

—
title: “New blog post”
coverAlt: “A picture of a big cathedral”
—

![alt text](image-of-cathedral.jpg)
_{{coverAlt}}_ or _{{page.coverAlt}}_

Unfortunately I can’t get this to work. I checked the docs on Frontmatter and Attributes but I couldn't see an answer atm. Does this type of Frontmatter lookup work in SilverBullet? Or do I have the syntax wrong?

Thanks,

Heffo

try using
--- on lines before and after