Measures Concepts
GitHub icon

Blade

Blade - Template language

< >

Blade is a template language created in 2011.

#989on PLDB 13Years Old 41kRepos


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>

View source

- Build the next great programming language Search Add Language Features Creators Resources About Blog Acknowledgements Queries Stats Sponsor Day 605 feedback@pldb.io Logout