Download raw (6.3 KB)
<!DOCTYPE html> <!-- site created with love by http://osp.kitchen/ --> {% load compress cms_tags sekizai_tags subscribe_tags menu_tags thumbnail %} <html> <head> <meta charset="utf-8"> {# 1) quite some generic views provide an `object.title`, #} {# 2) django cms provides a title accessible through the `page_attribute` tag #} {# 3) you can manually provide a `title` variable in the context #} {% page_attribute page_title as django_cms_title %} <title>Médor :: {% firstof object.title django_cms_title title %}</title> <meta name="viewport" content="width=device-width, initial-scale=.6"> <!-- og:title should be the same as the title tag, but without the ‘Médor :: ’ bit --> <meta property="og:title" content="{% firstof object.title django_cms_title title %}" /> <!-- if no og:image specified, leave blank so user can select one --> {% if object.image %} <meta property="og:image" content="{{ request.scheme }}://{{ request.get_host }}{% thumbnail object.image 1200x630 crop %}" /> {% endif %} <!-- No need for a separate og:description as it falls back to meta[name=description]--> <meta name="description" content="{% firstof object.description|striptags|safe description|striptags|safe %}" /> {% block meta %}{% endblock %} {% addtoblock "css" %} {% if debug %} <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}components/reset-css/reset.css"> <!-- This is the client-side way to compile less and an ok choice for local dev --> <link rel="stylesheet/less" type="text/css" media="all" href="{{ STATIC_URL }}medor/less/style.less" /> <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}components/font-awesome/css/font-awesome.css"/> {% else %} {% compress css %} <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}components/reset-css/reset.css"> <!-- This is the nifty django-compressor way to compile your less files in css --> <link type="text/less" rel="stylesheet" href="{{ STATIC_URL }}medor/less/style.less" charset="utf-8"> <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}components/font-awesome/css/font-awesome.css"/> {% endcompress %} {% endif %} {% endaddtoblock %} <link rel="icon" type="image/png" href="{{ STATIC_URL }}img/favicon-medor_16-16.png"> {% render_block "css" %} <script src="{{ STATIC_URL }}js/modernizr.custom.08508.js" ></script> </head> <body> {% cms_toolbar %} <section class="group"> <div class="menu group center"> <div class="logo"> <a href="{% url 'feed' %}"><img src="{{ STATIC_URL }}img/medor-centre.svg"></a> </div> <ul> {% show_menu 0 100 100 100 %} <li class="child sibling"> <form target="_blank" id="newsletter" method="post" action="https://medor.coop/liste/process.php" name="signup"> <label for="Email">Newsletter:</label> <input type="text" name="Email" id="email" maxlength="120" value="" /> <input type="hidden" name="d[10]" value="on" /> <!--*** DO NOT CHANGE name="pommo_signup" ! *** If you’d like to change the button text change the "value=" text.--> <input type="hidden" name="pommo_signup" value="true" /> <input class="button" type="submit" value="OK" /> </form> </li> <li class="child sibling"><a href="https://twitter.com/Medor_mag" class="btn-twt"><i class="fa fa-twitter"></i></a></li> <li class="child sibling"><a href="https://www.facebook.com/medormag" class="btn-fb"><i class="fa fa-facebook-official"></i></a></li> </ul> </div> {% block content %}{% endblock %} </section> <footer class="fullwidth group center"> <ul> <li class="child sibling"> <a href="{% page_url 'contact' %}">Contact</a> </li> <li class="child sibling"> <a href="{% page_url 'mentions-legales' %}">Mentions légales</a> </li> <li class="child sibling"> <a href="{% page_url 'magazine' %}#equipe">Qui sommes nous ?</a> </li> <li class="child sibling"> <a href="{% page_url 'proposer' %}">Proposer un article</a> </li> <li class="child sibling"> <a href="{% page_url 'faq' %}">FAQ</a> </li> </ul> </footer> <script src="{{ STATIC_URL }}components/jquery/jquery.min.js"></script> <script src="{{ STATIC_URL }}components/jquery-ui/ui/minified/jquery-ui.min.js"></script> <script src="{{ STATIC_URL }}components/details-tag/jquery.details.js" ></script> <script src="{{ STATIC_URL }}components/jcarousel/dist/jquery.jcarousel.min.js"></script> <script src="{{ STATIC_URL }}js/jquery.tocify.min.js"></script> <script src="{{ STATIC_URL }}components/ScrollMagic/js/_dependent/greensock/TweenMax.min.js"></script> <script src="{{ STATIC_URL }}components/ScrollMagic/js/jquery.scrollmagic.min.js"></script> <script src="{{ STATIC_URL }}js/carousel.js"></script> <script src="{{ STATIC_URL }}medor/js/clarisse.js"></script> <script src="{{ STATIC_URL }}medor/js/header.js"></script> {% if debug %} <script src="{{ STATIC_URL }}components/less/dist/less.js"></script> {% endif %} {% render_block "js" %} <script> // for some weird reason these articles stick around var toDelete = ["Proposer un article", "AG 2015", "Bug"]; $(".menu ul").first().find("li.sibling").each(function(i, el) { var $el = $(el); $el.find("a").each(function(i, elel) { var txt = $(elel).text(); if (toDelete.indexOf(txt) !== -1) { $el.remove(); }; }); }); </script> <!-- Piwik --> <script type="text/javascript"> var _paq = _paq || []; _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="//medor.coop/stats/"; _paq.push(['setTrackerUrl', u+'piwik.php']); _paq.push(['setSiteId', 1]); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s); })(); </script> <noscript><p><img src="//medor.coop/stats/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript> <!-- End Piwik Code --> </body> </html>