Fixed external post symbol on search (#2515)
Fixes #2471 Signed-off-by: George Araujo <george.gcac@gmail.com>
This commit is contained in:
parent
ec3bff6b6b
commit
5d3d3ff60b
|
|
@ -80,8 +80,7 @@
|
|||
title: "{{ title }}",
|
||||
{% elsif post.redirect contains '://' %}
|
||||
// TODO: fix the svg icon position for external posts
|
||||
// title: '{{ title }} <svg width="2rem" height="2rem" top=".5rem" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M17 13.5v6H5v-12h6m3-3h6v6m0-6-9 9" class="icon_svg-stroke" stroke="#999" stroke-width="1.5" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"></path></svg>',
|
||||
title: "{{ title }}",
|
||||
title: '{{ title }} <svg width="1.2rem" height="1.2rem" top=".5rem" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M17 13.5v6H5v-12h6m3-3h6v6m0-6-9 9" class="icon_svg-stroke" stroke="#999" stroke-width="1.5" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"></path></svg>',
|
||||
{% else %}
|
||||
title: "{{ title }}",
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Reference in New Issue