Skip to content

Commit

Permalink
Fixed external post symbol on search (#2515)
Browse files Browse the repository at this point in the history
Fixes #2471

Signed-off-by: George Araujo <george.gcac@gmail.com>
  • Loading branch information
george-gca committed Jun 18, 2024
1 parent ec3bff6 commit 5d3d3ff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions _includes/scripts/search.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit 5d3d3ff

Please sign in to comment.