add design
This commit is contained in:
@ -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 %}
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user