PageRenderTime 20ms CodeModel.GetById 11ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/hyde/tests/sites/test_grouper/layout/base.html

http://github.com/hyde/hyde
HTML | 57 lines | 46 code | 7 blank | 4 comment | 0 complexity | 54b2cd71d7bbf74eb5c17a0575d52ecc MD5 | raw file
 1{% extends "root.html" %}
 2{% block all %}
 3<!doctype html>
 4<html lang="en">
 5<head>
 6  {% block starthead %}{% endblock starthead %}
 7  <meta charset="{{resource.meta.charset|default('utf-8')}}">
 8  <meta http-equiv="X-UA-Compatible" content="{{resource.meta.compatibility|default('IE=edge,chrome=1')}}">
 9
10  <title>{% block title %}{{resource.meta.title}}{% endblock %}</title>
11  <meta name="description" content="{{resource.meta.description}}">
12  <meta name="author" content="{{resource.meta.author}}">
13
14  <!--  Mobile viewport optimized: j.mp/bplateviewport -->
15  <meta name="viewport" content="{{resource.meta.viewport|default('width=device-width, initial-scale=1.0')}}">
16
17  {% block favicons %}
18  <!-- Place favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
19  <link rel="shortcut icon" href="{{ media_url('/favicon.ico') }}">
20  <link rel="apple-touch-icon" href="{{ media_url('/apple-touch-icon.png') }}">
21  {% endblock favicons %}
22
23  {% block css %}
24  <link rel="stylesheet" href="{{ media_url('css/site.css') }}">
25  {% endblock css %}
26  {% block endhead %}{% endblock endhead %}
27</head>
28<body id="{{resource.id if resource.id else resource.name_without_extension}}">
29  {% block content %}
30  <div id="container">
31    {% block container %}
32    <header>
33    {% block header %}{% endblock header %}
34    </header>
35    <div id="main" role="main">
36        {% block main %}{% endblock main %}
37    </div>
38    <footer>
39        {% block footer %}{% endblock %}
40    </footer>
41    {% endblock container%}
42  </div> <!--! end of #container -->
43  {% endblock content%}
44
45  {% block js %}
46  <!-- Javascript at the bottom for fast page loading -->
47  {% block jquery %}
48  <!-- Grab Google CDN's jQuery. fall back to local if necessary -->
49  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.js"></script>
50  {% endblock jquery %}
51
52  {% block scripts %}{% endblock scripts %}
53  {%endblock js %}
54
55</body>
56</html>
57{% endblock all %}