You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
that receives the page’s meta data (path, title and unrestricted front matter), and returns an HTML fragment (string).
closes#56
partially addresses #1036
Exposing meta data to the page could help in many scenarios. For a concrete example, suppose that I want to show an author's name in a page.
If I defined it in the front matter as
and could somehow reuse these in the page with something like
${meta.author}
, it would help a lot when organizing a complex website.I would like it to be also available for SSR (#931).
Related: #56
(Initially a comment in #178)
The text was updated successfully, but these errors were encountered: