2 {% load feincms_tags feincms_page_tags %}
3 <!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
4 <!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
5 <!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
6 <!--[if (gte IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
8 {% block starthead %}{% endblock starthead %}
9 <meta charset="{{ resource.meta.charset }}">
11 <meta http-equiv="X-UA-Compatible" content="{{ resource.meta.compatibility }}">
14 {% block page.title %}{% if feincms_page.page_title %}{{ feincms_page.page_title }}
15 {% else %}{{ feincms_page.title }}{% endif %} | {{ APP.title }}{% endblock %}
18 <meta name="description" content="{{ resource.meta.description }}">
19 <meta name="author" content="{{ resource.meta.author }}">
20 <meta name="viewport" content="">
23 <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
25 <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
30 <link rel="shortcut icon" href="">
31 <link rel="apple-touch-icon" href="">
32 {% endblock favicons %}
35 <link href='https://fonts.googleapis.com/css?family=Antic' rel='stylesheet' type='text/css'>
36 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}cloudcms/css/styles.css">
40 <script src="{{ MEDIA_URL }}cloudcms/js/modernizr-2.0.6.js"></script>
41 <script src="{{ MEDIA_URL }}cloudcms/js/jquery-1.7.1.min.js"></script>
42 <script src="{{ MEDIA_URL }}cloudcms/js/jquery.infieldlabel.js"></script>
43 <script src="{{ MEDIA_URL }}cloudcms/js/jquery.cookie.js"></script>
44 <script src="{{ MEDIA_URL }}cloudcms/js/form-errors.js"></script>
46 <script src="{{ MEDIA_URL }}cloudcms/js/colorbox/jquery.colorbox.js"></script>
49 {% block page.cms.media %}
50 {{ feincms_page.content.media }}
53 {% block page.scripts.cloudbar %}
54 {% if CLOUDBAR_ACTIVE %} {{ CLOUDBAR_CODE }} {% endif %}
57 <script type="text/javascript">
58 $(document).ready(function() {
59 $("form.innerlabels label").inFieldLabels();
60 $("form .form-row").formErrors();
63 {% block endhead %}{% endblock endhead %}
65 {% if APP.extra_styles %}
66 <style type="text/css">
67 {{ APP.extra_styles|safe }}
73 <body class='cms-page-{{ feincms_page.slug }}'>
74 {% block page.mainbody %}
75 <div class='container'>
77 <div class="mainlogo">
79 <a href="{{ APP.index_url }}" title="{{ APP.title }}">
80 <img src="{{ APP.logo.get_absolute_url }}" alt="{{ APP.title }}" />
83 <h1>{{ APP.title }}</h1>
86 <div class="navigation">
87 <ul class="mainnav inline">
89 {% feincms_navigation of feincms_page as sublevel level=2,depth=1 %}
90 {% for p in sublevel %}
91 <li class="{% if p|is_equal_or_parent_of:feincms_page %}active{% endif %}">
92 <a href="{{ p.get_absolute_url }}">{{ p.title }}</a></li>
96 <ul class="mainnav inline subnav">
97 {% block page.subnav %}
98 {% if feincms_page.override_url != "/" %}
99 {% feincms_navigation of feincms_page as sublevel level=3,depth=1 %}
100 {% for p in sublevel %}
101 <li class="{% if p|is_equal_or_parent_of:feincms_page or p.url == request.path %}active{% endif %}">
102 <a href="{{ p.get_absolute_url }}">{{ p.title }}</a></li>
110 <ul class="messages">
111 {% for message in messages %}
112 <li{% if message.tags %}
113 class="{{ message.tags }}"{% endif %}>
119 {% block page.body %}
124 {% include "cms/footer.html" %}
126 {% endblock page.mainbody %}