Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Frontend Blade

Mark Hester edited this page Apr 6, 2018 · 5 revisions

This is the central location for all frontend views, data and non-data wise.

templates::master.blade.php @extends(webpage::master)


This is the master page responsible for loading the header and footer of all frontend pages.

  • A @yield('webpage.content') exists for all other views to attach data on.

Blade directive Extensions.

  • @section('webpage.title') - Render master page with title.
  • @section('webpage.content') - The content to be rendered inside the master page.
  • @push('webpage.styles') - Push new styles to the master page loader.
  • @push('webpage.scripts') - Push new scripts to master page loader.

Webpage will always refer to the frameworks master page loader.
Page will always refer to the websites specific files.

Clone this wiki locally