This commit is contained in:
Simon Vieille 2015-03-03 21:52:26 +01:00
parent d6d2435e4a
commit 9dba57a7c4

View file

@ -3,217 +3,221 @@
<html>
<head>
<meta charset="UTF-8" />
<title>Blog - {% block meta_title %}{{ page.seoTitle|pp(page.object)|pp(page)|e }}{% endblock %}</title>
{% block metas %}
<meta name="keywords" content="{{ page.metaKeywords|pp(page.object)|pp(page)|e }}">
<meta name="description" content="{% block meta_description %}{{ page.metaDescription|pp(page)|pp(page.object)|e }}{% endblock %}">
{% endblock %}
<title>Blog - {% block meta_title %}{{ page.seoTitle|pp(page.object)|pp(page)|e }}{% endblock %}</title>
{% block metas %}
<meta name="keywords" content="{{ page.metaKeywords|pp(page.object)|pp(page)|e }}">
<meta name="description" content="{% block meta_description %}{{ page.metaDescription|pp(page)|pp(page.object)|e }}{% endblock %}">
<link rel="openid.server" href="https://id.deblan.org/" />
<link rel="openid.delegate" href="https://id.deblan.org/simon/" />
<link rel="openid2.provider" href="https://id.deblan.org/" />
<link rel="openid2.local_id" href="https://id.deblan.org/simon/" />
{% endblock %}
{% block stylesheets %}
<link rel="stylesheet" href="{{ asset('/bundles/deblanblog/bootstrap/css/bootstrap.min.css') }}" />
<link rel="stylesheet" href="{{ asset('/bundles/deblanblog/bootstrap/css/bootstrap-theme.css') }}" />
<link rel="stylesheet" href="{{ asset('/bundles/deblanblog/syntaxhighlighter/styles/shCoreEclipse.css') }}" />
<link rel="stylesheet" href="{{ asset('/bundles/deblanblog/syntaxhighlighter/styles/shThemeEclipse.css') }}" />
{# <link rel="stylesheet" href="//vjs.zencdn.net/4.3/video-js.css" /> #}
<link rel="stylesheet" href="{{ asset('/bundles/deblanblog/css/main.css') }}?v=4" />
{% endblock %}
{{ get_var('CssBlock')|raw }}
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="alternate" type="application/rss+xml" title="Flux RSS" href="https://{{ app.request.host ~ cms_path('rss') }}">
<link rel="stylesheet" href="{{ asset('/bundles/deblanblog/bootstrap/css/bootstrap.min.css') }}" />
<link rel="stylesheet" href="{{ asset('/bundles/deblanblog/bootstrap/css/bootstrap-theme.css') }}" />
<link rel="stylesheet" href="{{ asset('/bundles/deblanblog/syntaxhighlighter/styles/shCoreEclipse.css') }}" />
<link rel="stylesheet" href="{{ asset('/bundles/deblanblog/syntaxhighlighter/styles/shThemeEclipse.css') }}" />
{# <link rel="stylesheet" href="//vjs.zencdn.net/4.3/video-js.css" /> #}
<link rel="stylesheet" href="{{ asset('/bundles/deblanblog/css/main.css') }}?v=4" />
{% endblock %}
{{ get_var('CssBlock')|raw }}
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="alternate" type="application/rss+xml" title="Flux RSS" href="https://{{ app.request.host ~ cms_path('rss') }}">
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" />
</head>
<body>
<div id="wrap">
<div id="main">
<header id="top">
<div id="header">
<div class="ctn">
<div id="search">
<form action="{{ path('search') }}">
<div><input type="text" name="query" value="" /></div>
</form>
</div>
</div>
<div class="ctn">
<div id="nav">
<ul role="menu">
<li id="home"><a href="{{ path('homepage') }}"><strong>BLOG</strong></a></li>
{% for node in manager.menu('main_menu').nodes %}
{% if node.level == 1 and node.isVisible %}
<li>
{% set has_children = node.children|length > 0 %}
{% set is_active = has_current_node(node) %}
{% if has_children %}<div class="dropdown">{% endif %}
<body>
<div id="wrap">
<div id="main">
<header id="top">
<div id="header">
<div class="ctn">
<div id="search">
<form action="{{ path('search') }}">
<div><input type="text" name="query" value="" /></div>
</form>
</div>
</div>
<div class="ctn">
<div id="nav">
<ul role="menu">
<li id="home"><a href="{{ path('homepage') }}"><strong>BLOG</strong></a></li>
{% for node in manager.menu('main_menu').nodes %}
{% if node.level == 1 and node.isVisible %}
<li>
{% set has_children = node.children|length > 0 %}
{% set is_active = has_current_node(node) %}
{% if has_children %}<div class="dropdown">{% endif %}
<a {% if is_active %}class="active" {% endif %} {% if has_children %}data-toggle="dropdown" href="#" {% else %}href="{{ page_url(node) }}" {% endif %}>{{ node.title|upper }} {% if has_children %}<span class="glyphicon glyphicon-chevron-down"></span>{% endif %}</a>
<a {% if is_active %}class="active" {% endif %} {% if has_children %}data-toggle="dropdown" href="#" {% else %}href="{{ page_url(node) }}" {% endif %}>{{ node.title|upper }} {% if has_children %}<span class="glyphicon glyphicon-chevron-down"></span>{% endif %}</a>
<ul class="dropdown-menu">
{% for child in node.children %}
{% if child.isVisible %}
{% if child.title == '<sep>' %}
<li class="divider"></li>
{% else %}
<li {% if is_current_node(child) %}class="active"{% endif %}>{{ page_link(child.title, child) }}</li>
{% endif %}
{% endif %}
{% endfor %}
</ul>
<ul class="dropdown-menu">
{% for child in node.children %}
{% if child.isVisible %}
{% if child.title == '<sep>' %}
<li class="divider"></li>
{% else %}
<li {% if is_current_node(child) %}class="active"{% endif %}>{{ page_link(child.title, child) }}</li>
{% endif %}
{% endif %}
{% endfor %}
</ul>
{% if has_children %}</div>{% endif %}
</li>
{% endif %}
{% endfor %}
{% if has_children %}</div>{% endif %}
</li>
{% endif %}
{% endfor %}
{% block main_menu_bind %}{% endblock %}
</ul>
</div>
</div>
</div>
</header>
<div id="breadcrumb">
<div class="ctn">
<ul id="social">
<li class="social social-rss"><a target="_blank" href="{{ cms_path('rss') }}">RSS</a></li>
<li class="social social-github"><a target="_blank" href="https://github.com/simmstein/">Github</a></li>
<li class="social social-linkedin"><a target="_blank" href="https://www.linkedin.com/profile/view?id=68981845&amp;trk=tab_pro">LinkedIn</a></li>
<li class="social social-diaspora"><a target="_blank" href="https://framasphere.org/people/cf7f5710e85d013117ae2a0000053625">Diaspora</a></li>
<li class="social social-twitter"><a target="_blank" href="https://twitter.com/SimonVieille">Twitter</a></li>
<li class="social social-facebook"><a target="_blank" href="https://www.facebook.com/simon.vieille">Facebook</a></li>
</ul>
{% block main_menu_bind %}{% endblock %}
</ul>
</div>
</div>
</div>
</header>
<div id="breadcrumb">
<div class="ctn">
<ul id="social">
<li class="social social-rss"><a target="_blank" href="{{ cms_path('rss') }}">RSS</a></li>
<li class="social social-github"><a target="_blank" href="https://github.com/simmstein/">Github</a></li>
<li class="social social-linkedin"><a target="_blank" href="https://www.linkedin.com/profile/view?id=68981845&amp;trk=tab_pro">LinkedIn</a></li>
<li class="social social-diaspora"><a target="_blank" href="https://framasphere.org/people/cf7f5710e85d013117ae2a0000053625">Diaspora</a></li>
<li class="social social-twitter"><a target="_blank" href="https://twitter.com/SimonVieille">Twitter</a></li>
<li class="social social-facebook"><a target="_blank" href="https://www.facebook.com/simon.vieille">Facebook</a></li>
</ul>
<ul>
<li><span class="glyphicon glyphicon-home"></span></li>
{% block breadcrumb %}{% endblock %}
</ul>
</div>
</div>
<ul>
<li><span class="glyphicon glyphicon-home"></span></li>
{% block breadcrumb %}{% endblock %}
</ul>
</div>
</div>
<div id="content" class="ctn">
<div class="trow">
<section>
{% spaceless %}
{% if session_user.hasFlash('message') %}
{% set flash = session_user.flash('message') %}
{{ include(flash.template, {message: flash.message}) }}
{% endif %}
{% endspaceless %}
<div id="content" class="ctn">
<div class="trow">
<section>
{% spaceless %}
{% if session_user.hasFlash('message') %}
{% set flash = session_user.flash('message') %}
{{ include(flash.template, {message: flash.message}) }}
{% endif %}
{% endspaceless %}
{{ get_var('Notice')|transform_url }}
{{ get_var('Notice')|transform_url }}
{% block body %}{% endblock %}
</section>
<aside>
<!-- <p><a href="http://flattr.com/thing/640789/Deblan"><img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" /></a></p> -->
<p><a href="https://ssl.neutralnetwork.org/"><img data-dimensions="destroy" src="https://ssl.neutralnetwork.org/assets/img/ban250.png" alt="NeutralNetwork" title="NeutralNetwork" /></a></p>
{% block body %}{% endblock %}
</section>
<aside>
<!-- <p><a href="http://flattr.com/thing/640789/Deblan"><img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" /></a></p> -->
<p><a href="https://ssl.neutralnetwork.org/"><img data-dimensions="destroy" src="https://ssl.neutralnetwork.org/assets/img/ban250.png" alt="NeutralNetwork" title="NeutralNetwork" /></a></p>
{% block aside %}
<div class="text-center">
<a href="http://www.laquadrature.net/fr/neutralite-du-net-les-etats-membres-et-la-commission-en-passe-de-trahir-le-vote-des-eurodeputes">
<img src="{{ asset('/images/neutrality.png') }}" alt="Il faut la neutralité des réseaux" title="Il faut la neutralité des réseaux"/>
</a>
</div>
{% block aside %}
<div class="text-center">
<a href="http://www.laquadrature.net/fr/neutralite-du-net-les-etats-membres-et-la-commission-en-passe-de-trahir-le-vote-des-eurodeputes">
<img src="{{ asset('/images/neutrality.png') }}" alt="Il faut la neutralité des réseaux" title="Il faut la neutralité des réseaux"/>
</a>
</div>
<div class="panel panel-default">
{% for node in manager.menu('categories_menu').nodes %}
<ul class="list-group list-wrapped">
{% set count = 0 %}
<div class="panel panel-default">
{% for node in manager.menu('categories_menu').nodes %}
<ul class="list-group list-wrapped">
{% set count = 0 %}
{% if node.isVisible %}
{% for category in node.dataModelsCollection %}
{% set count = count + 1 %}
<li class="list-group-item {% if has_current_node(node) and page.object.id == category.id %}active{% elseif count > 5 %}hide{% endif %}">
<span class="glyphicon glyphicon-folder-{{ has_current_node(node) and page.object.id == category.id ? 'open' : 'close' }}"></span>
<a href="{{ page_url(node, node.getCleanedDefaultParams, category) }}">{{ category }}</a>
</li>
{% endfor %}
{% endif %}
{% if node.isVisible %}
{% for category in node.dataModelsCollection %}
{% set count = count + 1 %}
<li class="list-group-item {% if has_current_node(node) and page.object.id == category.id %}active{% elseif count > 5 %}hide{% endif %}">
<span class="glyphicon glyphicon-folder-{{ has_current_node(node) and page.object.id == category.id ? 'open' : 'close' }}"></span>
<a href="{{ page_url(node, node.getCleanedDefaultParams, category) }}">{{ category }}</a>
</li>
{% endfor %}
{% endif %}
{% if count > 5 %}
<li class="list-group-item last">Tout afficher</li>
{% endif %}
</ul>
{% endfor %}
</div>
{% if count > 5 %}
<li class="list-group-item last">Tout afficher</li>
{% endif %}
</ul>
{% endfor %}
</div>
{# <div class="panel panel-default"> #}
{# <div class="panel-heading">{{ manager.menu('irc_menu').title }}</div> #}
{# <ul class="list-group"> #}
{# {% for node in manager.menu('irc_menu').nodes %} #}
{# {% if node.isVisible %} #}
{# <li class="list-group-item"><span class="glyphicon glyphicon-user"></span> <a target="_blank" href="{{ page_url(node) }}">{{ node.title }}</a></li> #}
{# {% endif %} #}
{# {% endfor %} #}
{# </ul> #}
{# </div> #}
{# <div class="panel panel-default"> #}
{# <div class="panel-heading">{{ manager.menu('irc_menu').title }}</div> #}
{# <ul class="list-group"> #}
{# {% for node in manager.menu('irc_menu').nodes %} #}
{# {% if node.isVisible %} #}
{# <li class="list-group-item"><span class="glyphicon glyphicon-user"></span> <a target="_blank" href="{{ page_url(node) }}">{{ node.title }}</a></li> #}
{# {% endif %} #}
{# {% endfor %} #}
{# </ul> #}
{# </div> #}
<div class="panel panel-default">
<div class="panel-heading">
{{ manager.menu('links_menu').title }}
(<a href="{{ cms_path('tiny') }}">RSS</a>)
</div>
<ul class="list-group list-wrapped">
{% set count = 0 %}
<div class="panel panel-default">
<div class="panel-heading">
{{ manager.menu('links_menu').title }}
(<a href="{{ cms_path('tiny') }}">RSS</a>)
</div>
<ul class="list-group list-wrapped">
{% set count = 0 %}
{% for key, node in manager.menu('links_menu').nodes %}
{% if node.isVisible %}
{% set count = count + 1 %}
<li class="list-group-item {% if count > 5 %}hide{% endif %}"><a target="_blank" href="{{ page_url(node) }}">{{ node.title }}</a></li>
{% endif %}
{% endfor %}
{% for key, node in manager.menu('links_menu').nodes %}
{% if node.isVisible %}
{% set count = count + 1 %}
<li class="list-group-item {% if count > 5 %}hide{% endif %}"><a target="_blank" href="{{ page_url(node) }}">{{ node.title }}</a></li>
{% endif %}
{% endfor %}
{% if count > 5 %}
<li class="list-group-item last">Tout afficher</li>
{% endif %}
</ul>
</div>
{% if count > 5 %}
<li class="list-group-item last">Tout afficher</li>
{% endif %}
</ul>
</div>
<a href="https://soutien.laquadrature.net/" title="Soutenons La Quadrature du Net !"><img src="https://soutien.laquadrature.net/images/support_lqdn_250.gif" alt="Soutenons La Quadrature du Net !" width="250" style="max-width: 225px" /></a>
{% endblock %}
</aside>
</div>
</div>
</div>
</div>
<a href="https://soutien.laquadrature.net/" title="Soutenons La Quadrature du Net !"><img src="https://soutien.laquadrature.net/images/support_lqdn_250.gif" alt="Soutenons La Quadrature du Net !" width="250" style="max-width: 225px" /></a>
{% endblock %}
</aside>
</div>
</div>
</div>
</div>
<footer id="bottom">
<div class="ctn">
<div id="footer">
{% set defaultFooter %}
<p>
Simon Vieille / Hébergement personnel / Textes libres sauf indication(s) contraire(s) /
<a href="{{ path('private_life') }}">Vie privée</a> /
<a href="https://lab.deblan.org/client/projects/deblan-trinity/repository">Sources</a>
</p>
<p><button class="btn btn-default btn-xs"><img width="128" height="13" src="{{ asset('/bundles/deblanblog/img/logo_trinity.png') }}" alt="Trinity CMS" title="Trinity CMS" /></button></p>
{% endset %}
<footer id="bottom">
<div class="ctn">
<div id="footer">
{% set defaultFooter %}
<p>
Simon Vieille / Hébergement personnel / Textes libres sauf indication(s) contraire(s) /
<a href="{{ path('private_life') }}">Vie privée</a> /
<a href="https://lab.deblan.org/client/projects/deblan-trinity/repository">Sources</a>
</p>
<p><button class="btn btn-default btn-xs"><img width="128" height="13" src="{{ asset('/bundles/deblanblog/img/logo_trinity.png') }}" alt="Trinity CMS" title="Trinity CMS" /></button></p>
{% endset %}
{{ get_var('FooterContent', defaultFooter)|transform_url }}
</div>
</div>
</footer>
{{ get_var('FooterContent', defaultFooter)|transform_url }}
</div>
</div>
</footer>
<div id="cookie" class="alert alert-info hide">
<a class="close" data-dismiss="alert" href="#" aria-hidden="true">&times;</a>
<p>Ce site utilise des cookies. <strong><a href="{{ path('private_life') }}">Gérer mes paramètres de confidentalité</a></strong>.</p>
</div>
<div id="cookie" class="alert alert-info hide">
<a class="close" data-dismiss="alert" href="#" aria-hidden="true">&times;</a>
<p>Ce site utilise des cookies. <strong><a href="{{ path('private_life') }}">Gérer mes paramètres de confidentalité</a></strong>.</p>
</div>
{% block javascripts %}
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="{{ asset('/bundles/deblanblog/bootstrap/js/bootstrap.min.js') }}"></script>
<script type="text/javascript" src="//s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4f1bf1591e040670"></script>
<script type="text/javascript" src="{{ asset('/bundles/deblanblog/syntaxhighlighter/scripts/shCore.js') }}"></script>
<script type="text/javascript" src="{{ asset('/bundles/deblanblog/syntaxhighlighter/scripts/shAutoloader.js') }}"></script>
{# <script type="text/javascript" src="//vjs.zencdn.net/4.3/video.js"></script> #}
<script type="text/javascript" src="{{ asset('/bundles/deblanblog/js/main.js?v=7') }}"></script>
<noscript><p><img src="https://piwik.deblan.org/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="{{ asset('/bundles/deblanblog/bootstrap/js/bootstrap.min.js') }}"></script>
<script type="text/javascript" src="//s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4f1bf1591e040670"></script>
<script type="text/javascript" src="{{ asset('/bundles/deblanblog/syntaxhighlighter/scripts/shCore.js') }}"></script>
<script type="text/javascript" src="{{ asset('/bundles/deblanblog/syntaxhighlighter/scripts/shAutoloader.js') }}"></script>
{# <script type="text/javascript" src="//vjs.zencdn.net/4.3/video.js"></script> #}
<script type="text/javascript" src="{{ asset('/bundles/deblanblog/js/main.js?v=7') }}"></script>
<noscript><p><img src="https://piwik.deblan.org/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript>
<!--[if lte IE 8]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
{% endblock %}
<!--[if lte IE 8]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
{% endblock %}
{{ get_var('JavascriptBlock')|raw }}
{{ get_var('JavascriptBlock')|raw }}
</body>
</html>
{% endspaceless %}