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="">
22 <link rel="alternate" type="application/atom+xml" href="{% url blogfeed %}">
26 <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
28 <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
33 <link rel="shortcut icon" href="">
34 <link rel="apple-touch-icon" href="">
35 {% endblock favicons %}
38 <link href='https://fonts.googleapis.com/css?family=Antic' rel='stylesheet' type='text/css'>
39 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}cloudcms/css/styles.css">
43 <script src="{{ MEDIA_URL }}cloudcms/js/modernizr-2.0.6.js"></script>
44 <script src="{{ MEDIA_URL }}cloudcms/js/jquery-1.7.1.min.js"></script>
45 <script src="{{ MEDIA_URL }}cloudcms/js/underscore.js"></script>
46 <script src="{{ MEDIA_URL }}cloudcms/js/jquery.infieldlabel.js"></script>
47 <script src="{{ MEDIA_URL }}cloudcms/js/jquery.cookie.js"></script>
48 <script src="{{ MEDIA_URL }}cloudcms/js/form-errors.js"></script>
49 <script src="{{ MEDIA_URL }}cloudcms/js/colorbox/jquery.colorbox.js"></script>
52 {% block page.cms.media %}
53 {{ feincms_page.content.media }}
57 {% block page.scripts.cloudbar %}
58 {% if CLOUDBAR_ACTIVE %} {{ CLOUDBAR_CODE }} {% endif %}
61 <script type="text/javascript">
62 $(document).ready(function() {
63 $("form.innerlabels label").inFieldLabels();
64 $("form .form-row").formErrors();
67 {% block endhead %}{% endblock endhead %}
69 <style type="text/css">
70 {% block extrastyles %}
74 {% if APP.extra_styles %}
75 <style type="text/css">
76 {{ APP.extra_styles|safe }}
82 <body class='cms-page-{{ feincms_page.slug }}'>
83 <div class='container'>
85 <div class="mainlogo">
87 <a href="/" title="{{ APP.title }}">
88 <img src="{{ APP.logo.get_absolute_url }}" alt="{{ APP.title }}" />
91 <h1>{{ APP.title }}</h1>
94 <div class="navigation">
95 <ul class="mainnav inline">
97 {% feincms_navigation of feincms_page as sublevel level=2,depth=1 %}
98 {% for p in sublevel %}
99 <li class="{% if p|is_equal_or_parent_of:feincms_page %}active{% endif %}">
100 <a href="{{ p.get_absolute_url }}">{{ p.title }}</a></li>
104 <ul class="mainnav inline subnav">
105 {% block page.subnav %}
106 {% if feincms_page.override_url != "/" %}
107 {% feincms_navigation of feincms_page as sublevel level=3,depth=1 %}
108 {% for p in sublevel %}
109 <li class="{% if p|is_equal_or_parent_of:feincms_page or p.url == request.path %}active{% endif %}">
110 <a href="{{ p.get_absolute_url }}">{{ p.title }}</a></li>
118 <ul class="messages">
119 {% for message in messages %}
120 <li{% if message.tags %}
121 class="{{ message.tags }}"{% endif %}>
127 {% block page.body %}
132 {% include "cms/footer.html" %}