hypothetical/resources/views/layouts/base.blade.php

22 lines
770 B
PHP
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
{!! Head::render() !!}
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<script src="/js/modernizr.js"></script>
@yield('page-includes')
2016-03-24 22:00:47 -04:00
@if(Config::get('app.debug'))
<script type="text/javascript">
document.write('<script src="//{{ env('LR_HOST', 'localhost') }}:35729/livereload.js?snipver=1" type="text/javascript"><\/script>')
</script>
@endif
</head>
<body class="{{ Request::path() == '/' ? 'index' : preg_replace('/\/.*/', '', Request::path()) }}">
@yield('page-top')
<div id="page-content">@yield('content')</div>
@yield('page-bottom')
</body>
</html>