Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Blade

< >

Blade is a template language created in 2011.

#956on PLDB 13Years Old 41kRepos
Homepage


Example from the web:
<!-- Stored in resources/views/layouts/app.blade.php --> <html> <head> <title>App Name - @yield('title')</title> </head> <body> @section('sidebar') This is the master sidebar. @show <div class="container"> @yield('content') </div> </body> </html>
Example from Linguist:
<!DOCTYPE html> <html> <head> <title>@yield('title', 'We love GitHub')</title> @stack('scripts') @stack('styles') </head> <body> @include('partials.nav') @yield('content') <ul> @foreach($foo as $bar) <li>{{ $bar }}</li> @endforeach </ul> {!! $raw_content !!} </body> </html>

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v164.7.0