Fixed external post symbol on search (#2515)

Fixes #2471

Signed-off-by: George Araujo <george.gcac@gmail.com>
This commit is contained in:
George 2024-06-18 11:45:34 -03:00 committed by GitHub
parent ec3bff6b6b
commit 5d3d3ff60b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -80,8 +80,7 @@
title: "{{ title }}", title: "{{ title }}",
{% elsif post.redirect contains '://' %} {% elsif post.redirect contains '://' %}
// TODO: fix the svg icon position for external posts // 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 }} <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>',
title: "{{ title }}",
{% else %} {% else %}
title: "{{ title }}", title: "{{ title }}",
{% endif %} {% endif %}