release candidate
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
{% set blockclass = "" %}
|
||||
{% if page.taxonomy.tag %}
|
||||
{% for tag in page.taxonomy.tag %}
|
||||
{% set blockclass = blockclass ~ " tag-" ~ catlist[(tag|e('url'))] %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
<section class="projet-block projet-block-img grid-block columns xlarge-3 large-4 medium-6 small-12 {{ blockclass }}">
|
||||
{% if display == 'img' %}
|
||||
|
||||
{% set image = page.media['00-home.jpg'] %}
|
||||
@@ -11,7 +19,12 @@
|
||||
<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') }}"><span>{{ tag }}</span></a>
|
||||
<a
|
||||
class="tag-{{ catlist[(tag|e('url'))] }}"
|
||||
data-filter=".tag-{{ catlist[(tag|e('url'))] }}"
|
||||
href="/categories/tag{{ config.system.param_sep }}{{ tag|e('url') }}">
|
||||
<span>{{ tag }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
@@ -37,3 +50,4 @@
|
||||
{% endif %}
|
||||
<a class="projet-img" href="{{ page.url }}">{{ image.resize(500).html }}</a>
|
||||
{% endif %}
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user