Skip to content

Commit

Permalink
Update BladeMatter documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva authored Sep 14, 2023
1 parent da31d15 commit 6a15ba5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/getting-started/front-matter.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,6 @@ To create BladeMatter, you simply use the default Laravel Blade `@php` directive
```

It will then be available through the global `$page` variable, `$page->matter('title')`.
Hyde will of course also use the data forcontextual autoconfiguration in the same way it would with Markdown and use the value as the page title.

Another idea is to use `@php($navigation = ['hidden' => true])` if you want to hide a page from the navigation. The opportunities are limitless!

0 comments on commit 6a15ba5

Please sign in to comment.