Merge pull request #2024 from gimlet2/patch-1
Target _blank was removed
This commit is contained in:
+1
-2
@@ -11,7 +11,6 @@
|
|||||||
{% if item.path %}
|
{% if item.path %}
|
||||||
{% assign path = item.path %}
|
{% assign path = item.path %}
|
||||||
{% assign title = item.title %}
|
{% assign title = item.title %}
|
||||||
{% assign target = " target='_blank'" %}
|
|
||||||
{% else %}
|
{% else %}
|
||||||
{% assign page = site.pages | where: "path", item | first %}
|
{% assign page = site.pages | where: "path", item | first %}
|
||||||
{% assign title = page.title %}
|
{% assign title = page.title %}
|
||||||
@@ -20,7 +19,7 @@
|
|||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
|
|
||||||
{% if path %}
|
{% if path %}
|
||||||
<a class="item" data-title="{{ title }}" href="{{ path }}"{{ target }}></a>
|
<a class="item" data-title="{{ title }}" href="{{ path }}"></a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
Reference in New Issue
Block a user