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

21 lines
763 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">
2016-03-30 00:51:54 -04:00
<script src="/js/lib.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>