Blot

Description in meta tags?

In the head.html of the Blog template I'm using, it had the following for the description:

<meta name="description" content="{{> description}}">
<meta property="og:description" content="{{> description}}">

This never pulled the "summary" metadata I added in my files and instead defaulted to the first sentence of the content on the page. So instead, I changed both to:

<meta name="description" content="{{summary}}">
<meta property="og:description" content="{{summary}}">

But it's still not working. My "summary" metadata is not being reflected in search results or preview thumbnails. When I view the page source, both tags show up empty.

Am I using the right template variable for the summary frontmatter field? Is there something else I should be referencing?

Asked 6 months ago Edit
2 replies

(OP) Come to think of it—not many of the metadata in head.html is working correctly, maybe something changed or I'm missing something.

6 months ago Edit

(OP) Wait I just discovered the guide below. Disregard! Yay!

https://blot.im/developers/guides/seo-social-meta-tags

6 months ago Edit

Your reply