Skip to content

Commit 5d3d3ff

Browse files
authored
Fixed external post symbol on search (alshedivat#2515)
Fixes alshedivat#2471 Signed-off-by: George Araujo <[email protected]>
1 parent ec3bff6 commit 5d3d3ff

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

_includes/scripts/search.liquid

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@
8080
title: "{{ title }}",
8181
{% elsif post.redirect contains '://' %}
8282
// TODO: fix the svg icon position for external posts
83-
// 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>',
84-
title: "{{ title }}",
83+
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>',
8584
{% else %}
8685
title: "{{ title }}",
8786
{% endif %}

0 commit comments

Comments
 (0)