Release Candidate 0.1
This commit is contained in:
@@ -20,29 +20,33 @@
|
||||
<title>{% if header.title %}{{ header.title|e('html') }} | {% endif %}{{ site.title|e('html') }}</title>
|
||||
|
||||
{% block stylesheets %}
|
||||
{# Bootstrap core CSS #}
|
||||
{% do assets.add('theme://app/bower_components/foundation/css/foundation.min.css',101) %}
|
||||
{# Bootstrap core CSS #}
|
||||
{# % do assets.add('theme://app/bower_components/foundation/css/foundation.min.css',101) % #}
|
||||
|
||||
{# Custom styles for this theme #}
|
||||
{% do assets.add('theme://css/styles.css',100) %}
|
||||
{# Custom font for this theme #}
|
||||
{% do assets.add('theme://font/fontwebkit.css',100) %}
|
||||
|
||||
{{ assets.css() }}
|
||||
{# Custom styles for this theme #}
|
||||
{% do assets.add('theme://css/styles.css',100) %}
|
||||
|
||||
{{ assets.css() }}
|
||||
{% endblock %}
|
||||
|
||||
{% endblock head %}
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<body class="{{bodyclass}}">
|
||||
|
||||
{# include the header + navigation #}
|
||||
{% include 'partials/header.html.twig' %}
|
||||
|
||||
<div id="center" class="row">
|
||||
<div class="large-12 columns grid">
|
||||
<div id="center" class="row fullwidth">
|
||||
<div class="large-12 columns">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- {% block bottom %}{% endblock %} -->
|
||||
{% block bottom %}{% endblock %}
|
||||
|
||||
|
||||
{# include the footer#}
|
||||
@@ -53,7 +57,7 @@
|
||||
{% do assets.add('theme://bower_components/jquery/dist/jquery.min.js', 101) %}
|
||||
{% do assets.add('theme://bower_components/foundation/js/foundation.min.js') %}
|
||||
{% do assets.add('theme://bower_components/masonry/dist/masonry.pkgd.min.js') %}
|
||||
{% do assets.add('theme://js/script.min.js') %}
|
||||
{% do assets.add('theme://js/dist/script.min.js') %}
|
||||
{{ assets.js() }}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
<footer id="bottom-bar">
|
||||
<div class="row">
|
||||
<div class="row fullwidth">
|
||||
<section class="large-12 columns">
|
||||
<h1><a href="#">{{ site.title|e('html') }}</a></h1>
|
||||
<h1><a href="/">- {{ site.title|e('html') }} -</a></h1>
|
||||
<address>
|
||||
{{ site.adresse|e('html') }}<br />
|
||||
<a href="mailto:{{site.email}}">{{ site.email|e('html') }}</a>
|
||||
</address>
|
||||
</section>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
@@ -1,24 +1,29 @@
|
||||
<header id="top-bar">
|
||||
<div class="row">
|
||||
<section id="title-area" class="large-6 large-push-3 columns">
|
||||
<h1><a href="#">{{ site.title|e('html') }}</a></h1>
|
||||
<div class="row fullwidth">
|
||||
|
||||
<section id="title-area" class="small-8 small-push-2 columns">
|
||||
<h1><a href="/"><span>{{ site.title|e('html') }}</span></a></h1>
|
||||
<h2>{{ site.subtitle|e('html') }}</h2>
|
||||
</section>
|
||||
|
||||
<nav id="right-nav" class="large-3 large-pull-6 columns">
|
||||
<!-- Right Nav Section -->
|
||||
<ul class="left">
|
||||
{% for page in pages.children %}
|
||||
<li><a href="{{ page.url }}">{{ page.menu }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<nav id="left-nav" class="nav small-2 small-pull-8 columns">
|
||||
<div class="wrapper">
|
||||
<ul class="left">
|
||||
{% for page in pages.children %}
|
||||
{% if page.menu != "home" and page.menu != "Catégories" %}
|
||||
<li><a href="{{ page.url }}">{{ page.menu }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<nav id="left-nav" class="large-3 columns">
|
||||
<nav id="right-nav" class="nav small-2 columns">
|
||||
{% if config.plugins.taxonomylist.enabled %}
|
||||
<div class="right">
|
||||
<h4>Catégoris</h4>
|
||||
{% include 'partials/tagslist.html.twig' with {'base_url':"/", 'taxonomy':'tag'} %}
|
||||
</div>
|
||||
<div class="wrapper">
|
||||
<h4><a href="/categories">Catégories</a></h4>
|
||||
{% include 'partials/tagslist.html.twig' with {'base_url':"/categories/", 'taxonomy':'tag'} %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
{% if display == 'img' %}
|
||||
{% set image = page.media.images|first %}
|
||||
<a href="{{ page.url }}">{{ image.html }}</a>
|
||||
<header>
|
||||
<h1><a href="{{ page.url }}">{{page.title}}</a></h1>
|
||||
<h2><a href="{{ page.url }}">{{page.header.subtitle}}</a></h2>
|
||||
</header>
|
||||
{% endif %}
|
||||
|
||||
{% if display == 'text' %}
|
||||
<h1><a href="{{ page.url }}">{{page.title}}</a></h1>
|
||||
<h2>{{page.header.subtitle}}</h2>
|
||||
|
||||
{{ page.summary() }}
|
||||
|
||||
|
||||
{% set image = page.media.images|first %}
|
||||
<a class="projet-img" href="{{ page.url }}">{{ image.html }}</a>
|
||||
|
||||
{% endif %}
|
||||
@@ -1,2 +0,0 @@
|
||||
<h1>{{page.title}}</h1>
|
||||
{{ page.content }}
|
||||
@@ -4,8 +4,15 @@
|
||||
<ul class="tags">
|
||||
{% for tax,value in taxlist[taxonomy] %}
|
||||
{% set active = uri.param(taxonomy) == tax ? 'active' : '' %}
|
||||
<li>
|
||||
<a class="{{ active }}" href="{{ base_url }}/{{ taxonomy }}{{ config.system.param_sep }}{{ tax|e('url') }}">{{ tax }}</a>
|
||||
{% if not loop.first and display == "inline" %}
|
||||
<span>-</span>
|
||||
{% endif %}
|
||||
<li class="{{ active }}">
|
||||
<a
|
||||
class="{{ active }}"
|
||||
href="{{ base_url }}{{ taxonomy }}{{ config.system.param_sep }}{{ tax|e('url') }}">
|
||||
<span>{{ tax }}</sapn>
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user