8 months ago

Layout file in a subdirectory?

Posted 8 months ago by ChrisF79

Hi everyone,

I have posts.layout as my main template for my CMS "in a posts" directory. However, the footer is the same for all site pages and is in the main directory, one directory lower than posts.

In other words I have posts/layout.blade.php and then /footer.blade.php.

How do I yield content from footer from within posts/layout.blade.php?

Please sign in or create an account to participate in this conversation.