Replies: 3 comments 5 replies
-
According to the traceback, the template being rendered when that error occurs is {% if page %}{{ page.meta.description }}{% endif %} That way, the In fact, if you look at the theme's template, you will notice that every reference to |
Beta Was this translation helpful? Give feedback.
-
I am converting this to a discussion, as it is a support request, not a bug report or feature request. |
Beta Was this translation helpful? Give feedback.
-
Then, what is not a page ? (sorry if naive question) |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am trying to add a few additional
<meta>
from themain.html
template through custom_theme. I succeeded to do so, but I cannot usepage.meta
correctly.{{ page.meta }}
returns no error and it lists all pairs "key-value" as'key' : 'value'
, but when calling{{ page.meta.foo }}
, I get this error on build or serve:What do I do wrong ?
Thank you !
Beta Was this translation helpful? Give feedback.
All reactions