theme updated : webfont, colored cats, titles : home near ok
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
{# % do assets.add('theme://app/bower_components/foundation/css/foundation.min.css',101) % #}
|
||||
|
||||
{# Custom font for this theme #}
|
||||
{% do assets.add('theme://font/fontwebkit.css',100) %}
|
||||
{% do assets.add('theme://font/cocogoose/cocogoose.css',100) %}
|
||||
|
||||
{# Custom styles for this theme #}
|
||||
{% do assets.add('theme://css/styles.css',100) %}
|
||||
|
||||
@@ -8,8 +8,17 @@
|
||||
</section>
|
||||
|
||||
<nav id="left-nav" class="nav small-6 medium-2 medium-pull-8 columns">
|
||||
{% if config.plugins.taxonomylist.enabled %}
|
||||
<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>
|
||||
|
||||
<nav id="right-nav" class="nav small-6 medium-2 columns">
|
||||
<div class="wrapper">
|
||||
<ul class="left">
|
||||
<ul class="right">
|
||||
{% for page in pages.children %}
|
||||
{% if page.menu != "home" and page.menu != "Catégories" %}
|
||||
<li><a href="{{ page.url }}">{{ page.menu }}</a></li>
|
||||
@@ -19,14 +28,8 @@
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<nav id="right-nav" class="nav small-6 medium-2 columns">
|
||||
{% if config.plugins.taxonomylist.enabled %}
|
||||
<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 class="line small-6 medium-12 columns"></div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<ul>
|
||||
{% for tag in page.taxonomy.tag %}
|
||||
<li>
|
||||
<a class="tag-{{ catlist[(tag|e('url'))] }}" href="/categories/tag{{ config.system.param_sep }}{{ tag|e('url') }}">{{ tag }}</a>
|
||||
<a class="tag-{{ catlist[(tag|e('url'))] }}" href="/categories/tag{{ config.system.param_sep }}{{ tag|e('url') }}"><span>{{ tag }}</span></a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
{% if taxlist %}
|
||||
<ul class="tags">
|
||||
{% for tax,value in taxlist[taxonomy] %}
|
||||
{% set active = uri.param(taxonomy) == tax ? 'active' : '' %}
|
||||
{% for tag,value in taxlist[taxonomy] %}
|
||||
{% set active = uri.param(taxonomy) == tag ? ' active' : '' %}
|
||||
{% 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>
|
||||
class="tag-{{ catlist[(tag|e('url'))] }}{{ active }}"
|
||||
href="{{ base_url }}{{ taxonomy }}{{ config.system.param_sep }}{{ tag|e('url') }}">
|
||||
<span>{{ tag }}</sapn>
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user