Closed a-chris closed 1 year ago
UPDATE: after a few attempts I figured out the problems, for who comes to this issue in the future:
<% seo %>
instead of <%= seo %>
<%= seo %>
should be put in the _head.erb
partial<meta description
or title
from the head partialnow it's working 🥳 feel free to close this issue
Hi everyone, first of all, thank for your work, Bridgetown is a bless to use.
I'm using Bridgetown to build a personal blog and I have a question about using the post description to fill the meta description for post pages. From what I understand, the README says that this should work automatically just by adding a
description
in the front matter of a post.However, when I write posts with description in the front matter, the meta description generated always displays the
site_metadata.description
instead. I've tried including the<%= seo %>
tag inside the post, but it didn't work. I'm using ERB in case it matters.my front matter:
Could you please help me to understand what I'm doing wrong? Perhaps I've misunderstood the README?