Skip to content

Instantly share code, notes, and snippets.

@zooks
Created July 21, 2017 10:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zooks/0bd82a36abbb9a09d68346e75d347e95 to your computer and use it in GitHub Desktop.
Save zooks/0bd82a36abbb9a09d68346e75d347e95 to your computer and use it in GitHub Desktop.
October CMS Layout
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>October CMS - {{ this.page.title }}</title>
<meta name="description" content="{{ this.page.meta_description }}">
<meta name="title" content="{{ this.page.meta_title }}">
<meta name="author" content="OctoberCMS">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="OctoberCMS">
<link rel="icon" type="image/png" href="{{ 'assets/images/october.png'|theme }}">
<link href="{{ 'assets/css/vendor.css'|theme }}" rel="stylesheet">
<link href="{{ 'assets/css/theme.css'|theme }}" rel="stylesheet">
{% styles %}
</head>
<body>
<!-- Header -->
<header id="layout-header">
{% partial 'site/header' %}
</header>
<!-- Content -->
<section id="layout-content">
<div class="jumbotron">
<div class="container">
<h1>{{ this.page.title }}</h1>
<p>{{ this.page.description }}</p>
</div>
</div>
<div class="container">
{% page %}
</div>
</section>
<!-- Footer -->
<footer id="layout-footer">
{% partial 'site/footer' %}
</footer>
<!-- Scripts -->
<script src="{{ 'assets/vendor/jquery.js'|theme }}"></script>
<script src="{{ 'assets/vendor/bootstrap.js'|theme }}"></script>
<script src="{{ 'assets/javascript/app.js'|theme }}"></script>
{% framework extras %}
{% scripts %}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment