# Using Frontmatter in a page

**URL:** <https://community.silverbullet.md/t/using-frontmatter-in-a-page/4020>\
**Category:** Troubleshooting\
**Created:** [April 9, 2026, 6:47pm UTC](https://community.silverbullet.md/t/using-frontmatter-in-a-page/4020 "2026-04-09T18:47:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![heffo](https://community.silverbullet.md/letter_avatar_proxy/v4/letter/h/f0a364/32.png) [@heffo](https://community.silverbullet.md/u/heffo)\
**Post date:** [April 9, 2026, 6:47pm UTC](https://community.silverbullet.md/t/using-frontmatter-in-a-page/4020/1 "2026-04-09T18:47:24Z")

</div>

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:

```auto
—
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

---

<div class="post-metadata">

**Author:** ![kaidoestech](https://community.silverbullet.md/letter_avatar_proxy/v4/letter/k/8dc957/32.png) [@kaidoestech](https://community.silverbullet.md/u/kaidoestech)\
**Post date:** [April 9, 2026, 8:31pm UTC](https://community.silverbullet.md/t/using-frontmatter-in-a-page/4020/2 "2026-04-09T20:31:38Z")

</div>

try using  
`---` on lines before and after
