Skip to content

Commit 1ae6e11

Browse files
Add a space to External link SVG in profile button
1 parent 09228f2 commit 1ae6e11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

layouts/partials/index_profile.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ <h1>{{ .title | default site.Title | markdownify }}</h1>
3737
<a class="button" href="{{ trim .url " " }}" rel="noopener" title="{{ .name }}">
3838
<span class="button-inner">
3939
{{ .name }}
40-
{{- if (findRE "://" .url) }}
40+
{{- if (findRE "://" .url) }}&nbsp;
4141
<svg fill="none" shape-rendering="geometricPrecision" stroke="currentColor" stroke-linecap="round"
4242
stroke-linejoin="round" stroke-width="2.5" viewBox="0 0 24 24" height="14" width="14">
4343
<path d="M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"></path>
@@ -52,4 +52,4 @@ <h1>{{ .title | default site.Title | markdownify }}</h1>
5252
{{- end }}
5353
</div>
5454
{{- end}}
55-
</div>
55+
</div>

0 commit comments

Comments
 (0)