My First Post

My Second Post

My Third Post

My Fourth Post

My Fifth Post

My Sixth Post

My Blade Post

Page meta

Filename:

4-fourth-post

Extension:

blade.md

Path:

/posts/4-fourth-post

BASE URL:

http://jigsaw-test.dev

URL:

http://jigsaw-test.dev/posts/4-fourth-post

Global Variable:

some global variable

Collection Name: posts
Collection Name: posts
Total Posts: 7


My Fourth Post

My Blade Post

By Adam Wathan · 04/12/2017

By Matt Stauffer · 04/01/2016

References to adjacent collection items:

A Blade/Markdown hybrid.

This filename ends with blade.md and is processed by both the Blade parser (first) and then the Markdown parser (second).

So you can mix BLADE and Markdown directives in the same file.

Note that in blade.md files, section can be omitted (as it can in any .md file).

You can also include any type of file, which will get parsed based on its own file type:

  • Included Markdown file

  • Included Blade file (with a global variable: some global variable)

  • Included Blade/Markdown hybrid file (with a global variable: some global variable)

  • Included text-only (.txt) file

User-defined helper function preview() from collections.php, invoked at the item level:

A Blade/Markdown hybrid. This filename ends with blade.md and is processed by both the Blade p ...

User-defined helper function, invoked on adjacent collection items

My Fifth Post

Normal Markdown post. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus earum dist...

Access a Jigsaw Collection as Illuminate Collection

Related faq posts:

My Fourth Post: A Blade/Markdown hybrid. This filename ends ...

Dump of $page (can also be accessed as singular version of collection name, i.e. $post)