Have this idea for front matter in HydePHP that is just a void directive we can use static parsing for. Possible drawback is that compared to the current syntax it wouldn't be available to PHP as well (but maybe the directive can "share" to the view otherwise, or at least to the page). But the benefit is that it's easier to do multi line options, and nested items. And a more similar syntax to the Markdown pages.
@matter('navigation.title' => 'foo')
@matter
navigation:
title: foo
@endmatter
Have this idea for front matter in HydePHP that is just a void directive we can use static parsing for. Possible drawback is that compared to the current syntax it wouldn't be available to PHP as well (but maybe the directive can "share" to the view otherwise, or at least to the page). But the benefit is that it's easier to do multi line options, and nested items. And a more similar syntax to the Markdown pages.