Skip to content

Instantly share code, notes, and snippets.

@richlove1
Last active December 17, 2015 18:09
Show Gist options
  • Save richlove1/5651243 to your computer and use it in GitHub Desktop.
Save richlove1/5651243 to your computer and use it in GitHub Desktop.
Main layout with some ng-xxx stuff?
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" @yield('ng-app') lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" @yield('ng-app')> <!--<![endif]-->
<head>
<title>
@section('page-title')
The Golf Counter
@show
</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name ="description" content="@section('meta_description')
The Golf Counter @show">
<meta name ="keywords" content="@section('meta_keywords')
golf, tgc, @show">
<meta name ="viewport" content="width=device-width">
<meta name ="robots" content="index,follow">
<link rel ="shortcut icon" href="/favicon.ico">
<!-- CSS -->
@include('partials.core-css')
@yield('styles')
<!-- JS - Top -->
@include('partials.js-top')
@yield('js-top')
</head>
<body id ="@yield('body-id')"
class ="@yield('body-class')"
@yield('ng-controller') >
<!--[if lt IE 8]>
<p class="chromeframe">You are using an outdated browser. <a href="http://browsehappy.com/">Upgrade your browser today</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to better experience this site.</p>
<![endif]-->
<!-- include nav -->
@include('partials.nav')
<!-- include header -->
@include('partials.header')
<!-- include breadcrumbs -->
@include('partials.breadcrumbs')
<!-- begin content -->
<div class="wrapper" id="main-content">
@include('partials.notifications')
@yield('content')
</div>
<!-- end content -->
<!-- include footer -->
@include('partials.footer')
<!--- include modals -->
{{-- @include('partials.modals') --}}
<!-- JS - Bottom -->
@include('partials.js-bottom')
@yield('js-bottom')
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment