やっぱり<nav>は使わない
parent
2786c92e1f
commit
e43a5a2dc3
|
@ -12,12 +12,10 @@
|
|||
{% endcomment %}
|
||||
{% if data.links %}
|
||||
{% capture link_list %}
|
||||
<nav>
|
||||
{% for link_data in data.links %}
|
||||
{% if forloop.first != true %}/{% endif %}
|
||||
<a href="{{ link_data.url }}">{{ link_data.text }}</a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
{% endcapture %}
|
||||
|
||||
{% assign links = "" | split: "|" %}
|
||||
|
|
|
@ -12,12 +12,10 @@
|
|||
{% endcomment %}
|
||||
{% if data.links %}
|
||||
{% capture link_list %}
|
||||
<nav>
|
||||
{% for link_data in data.links %}
|
||||
{% if forloop.first != true %}/{% endif %}
|
||||
<a href="{{ link_data.url }}">{{ link_data.text }}</a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
{% endcapture %}
|
||||
|
||||
{% assign links = "" | split: "|" %}
|
||||
|
@ -47,7 +45,6 @@
|
|||
{% endcomment %}
|
||||
{% if data.depends %}
|
||||
{% capture depend_list %}
|
||||
<nav>
|
||||
{% for depend in data.depends %}
|
||||
{% if depend.url %}
|
||||
<a href="{{ depend.url }}">{{ depend.text }}</a>{% if forloop.last != true %},{% endif %}
|
||||
|
@ -55,7 +52,6 @@
|
|||
{{ depend.text }}{% if forloop.last != true %},{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</nav>
|
||||
{% endcapture %}
|
||||
|
||||
{% assign depends = "" | split: "|" %}
|
||||
|
@ -69,7 +65,6 @@
|
|||
{% endcomment %}
|
||||
{% if data.depends-optional %}
|
||||
{% capture optionally_depend_list %}
|
||||
<nav>
|
||||
{% for depend in data.depends-optional %}
|
||||
{% if depend.url %}
|
||||
<a href="{{ depend.url }}">{{ depend.text }}</a>{% if forloop.last != true %},{% endif %}
|
||||
|
@ -77,7 +72,6 @@
|
|||
{{ depend.text }}{% if forloop.last != true %},{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</nav>
|
||||
{% endcapture %}
|
||||
|
||||
{% assign depends_optional = "" | split: "|" %}
|
||||
|
|
|
@ -12,12 +12,10 @@
|
|||
{% endcomment %}
|
||||
{% if data.links %}
|
||||
{% capture link_list %}
|
||||
<nav>
|
||||
{% for link_data in data.links %}
|
||||
{% if forloop.first != true %}/{% endif %}
|
||||
<a href="{{ link_data.url }}">{{ link_data.text }}</a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
{% endcapture %}
|
||||
|
||||
{% assign links = "" | split: "|" %}
|
||||
|
|
|
@ -12,12 +12,10 @@
|
|||
{% endcomment %}
|
||||
{% if data.links %}
|
||||
{% capture link_list %}
|
||||
<nav>
|
||||
{% for link_data in data.links %}
|
||||
{% if forloop.first != true %}/{% endif %}
|
||||
<a href="{{ link_data.url }}">{{ link_data.text }}</a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
{% endcapture %}
|
||||
|
||||
{% assign links = "" | split: "|" %}
|
||||
|
|
|
@ -12,12 +12,10 @@
|
|||
{% endcomment %}
|
||||
{% if data.links %}
|
||||
{% capture link_list %}
|
||||
<nav>
|
||||
{% for link_data in data.links %}
|
||||
{% if forloop.first != true %}/{% endif %}
|
||||
<a href="{{ link_data.url }}">{{ link_data.text }}</a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
{% endcapture %}
|
||||
|
||||
{% assign links = "" | split: "|" %}
|
||||
|
|
Loading…
Reference in New Issue