Target _blank was removed
Serious guys! It is so much annoying - each link in new tab! If I would need it I would hold Ctrl pressed.reviewable/pr2024/r1
parent
e43373ea65
commit
c6d6c1e6f9
|
@ -11,7 +11,6 @@
|
|||
{% if item.path %}
|
||||
{% assign path = item.path %}
|
||||
{% assign title = item.title %}
|
||||
{% assign target = " target='_blank'" %}
|
||||
{% else %}
|
||||
{% assign page = site.pages | where: "path", item | first %}
|
||||
{% assign title = page.title %}
|
||||
|
@ -20,7 +19,7 @@
|
|||
{% endcapture %}
|
||||
|
||||
{% if path %}
|
||||
<a class="item" data-title="{{ title }}" href="{{ path }}"{{ target }}></a>
|
||||
<a class="item" data-title="{{ title }}" href="{{ path }}"></a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue