Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Joe Joiner Newcomer
@joejoinerr · Joined 9 years ago · 4 posts · 1 topics · 0 reputation
Badges
Recent posts
-
Why does site.metadata.description work but page.metadata.description doesn't?
· 9 years ago
That makes sense. After playing around a bit I discovered that you can grab it outside of a loop with {{ page.header.metadata.description }}. Problem solved.
-
Why does site.metadata.description work but page.metadata.description doesn't?
· 9 years ago
Right, I understand that, but my question is why does {{ site.metadata.description }} work? Is that not an array too? Furthermore, is there no way to grab just that one field without looping through a
-
Why does site.metadata.description work but page.metadata.description doesn't?
· 9 years ago
Yeah, I have it set for every page. I should have noted that not only does {{ page.metadata.description }} not work, it breaks the site, throwing the following error: 'An exception has been thrown dur
-
Why does site.metadata.description work but page.metadata.description doesn't?
· 9 years ago
I understand the metadata loop as used in the Antimatter theme, but when I try to pull through a single metadata field it doesn't work? <meta name="description" content="{{ page.metadata.descriptio