Is your feature request related to a problem? Please describe.
As far as I'm aware, it's currently not possible to access the current page's Page object (and by extension, any page parameters from frontmatter) in extend-head.html. This makes it impossible to perform any page-level logic.
For example, in my use case, I wish to add something in my extend_head.html which relies on a condition such as if page.HasShortcode "foo_bar", but (again, as far as I'm aware?) this is not possible with the way extend-head.html is currently implemented, since Blowfish only passes .Site into the partial.
Describe the solution you'd like
It would open up a lot of possibilities and be super handy to be able to access the current page from extend-head.html.
Describe alternatives you've considered
Given what I wish to do, I don't believe there is any alternative, but I'm open to correction!
Additional context
This is the same issue as #1425, which appears to be have been prematurely closed due to a misunderstanding.
Is your feature request related to a problem? Please describe.
As far as I'm aware, it's currently not possible to access the current page's
Page
object (and by extension, any page parameters from frontmatter) inextend-head.html
. This makes it impossible to perform any page-level logic.For example, in my use case, I wish to add something in my
extend_head.html
which relies on a condition such asif page.HasShortcode "foo_bar"
, but (again, as far as I'm aware?) this is not possible with the wayextend-head.html
is currently implemented, since Blowfish only passes.Site
into the partial.Describe the solution you'd like
It would open up a lot of possibilities and be super handy to be able to access the current page from
extend-head.html
.Describe alternatives you've considered
Given what I wish to do, I don't believe there is any alternative, but I'm open to correction!
Additional context
This is the same issue as #1425, which appears to be have been prematurely closed due to a misunderstanding.