We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

How to access content in Blade view?

Jens Olaf Koch December 10, 2020 by Jens Olaf Koch

I'm quite new to Statamic and wonder which directive I should use in a Blade view – with {{ $content }} – to get the data of a page (or all pages) from a collection 'pages'?

I installed the Blade directives Addon but couldn't figure out which directive in which way to use? @collection? @entry? @data?

Many thanks!

Answered by Jens Olaf Koch!
>>>>>>> Answered <<<<<<<
1 Reply
1 Follower