Make sidebar social buttons open a new tab/window
As these are links that take you out of the blog, it feels right to open those in a new tab or window.
This commit is contained in:
@@ -40,11 +40,11 @@
|
|||||||
'osf', 'overleaf', 'philpapers', 'piazza', 'publons',
|
'osf', 'overleaf', 'philpapers', 'piazza', 'publons',
|
||||||
'pubmed', 'researcherid', 'scirate', 'semantic-scholar',
|
'pubmed', 'researcherid', 'scirate', 'semantic-scholar',
|
||||||
'springer', 'zotero'] %}
|
'springer', 'zotero'] %}
|
||||||
<a class="sidebar-social-item" href="{{ link }}">
|
<a class="sidebar-social-item" href="{{ link }}" target="_blank">
|
||||||
<i class="ai ai-{{ name }}"></i>
|
<i class="ai ai-{{ name }}"></i>
|
||||||
</a>
|
</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a class="sidebar-social-item" href="{{ link }}">
|
<a class="sidebar-social-item" href="{{ link }}" target="_blank">
|
||||||
<i class="fa fa-{{ name }}"></i>
|
<i class="fa fa-{{ name }}"></i>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user