add design

This commit is contained in:
2019-05-09 00:26:27 +02:00
parent 0cae791a02
commit 3c24252ea3
33 changed files with 1112 additions and 359 deletions

View File

@ -1,17 +1,15 @@
<div class="publics">
<span class="pc">
<!-- {% set page_public = page.header.public %}
{% for public in page_public %}
{{ public }}
{% endfor %} -->
{% macro pageLinkName(text) %}{{ text|lower|replace({' ':'_'}) }}{% endmacro %}
{% if page.taxonomy.tag %}
{% import _self as macro %}
{% if page.taxonomy.tag %}
{% for tag in page.taxonomy.tag %}
<div class="publics {{ macro.pageLinkName(tag) }}">
<span class="pc">
<span class="tags">
{% for tag in page.taxonomy.tag %}
{{ tag }}
{% endfor %}
{{ tag }}
</span>
{% endif %}
</span>
</div>
</span>
</div>
{% endfor %}
{% endif %}

View File

@ -1,7 +1,12 @@
{% if page.taxonomy.tag %}
<span class="tags">
{% for tag in page.taxonomy.tag %}
{% macro pageLinkName(text) %}{{ text|lower|replace({' ':'_'}) }}{% endmacro %}
{% import _self as macro %}
{% for tag in page.taxonomy.tag %}
<span class="tags {{ macro.pageLinkName(tag) }}">
<a class="label">{{ tag }}</a>
{% endfor %}
</span>
{% endif %}
</span>