Skip to content

Commit

Permalink
Add a space to External link SVG in profile button
Browse files Browse the repository at this point in the history
  • Loading branch information
adityatelange authored Jul 8, 2022
1 parent 09228f2 commit 1ae6e11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/index_profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ <h1>{{ .title | default site.Title | markdownify }}</h1>
<a class="button" href="{{ trim .url " " }}" rel="noopener" title="{{ .name }}">
<span class="button-inner">
{{ .name }}
{{- if (findRE "://" .url) }}
{{- if (findRE "://" .url) }}&nbsp;
<svg fill="none" shape-rendering="geometricPrecision" stroke="currentColor" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2.5" viewBox="0 0 24 24" height="14" width="14">
<path d="M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"></path>
Expand All @@ -52,4 +52,4 @@ <h1>{{ .title | default site.Title | markdownify }}</h1>
{{- end }}
</div>
{{- end}}
</div>
</div>

0 comments on commit 1ae6e11

Please sign in to comment.