mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-06-03 08:08:41 -04:00
Remove whitespace around urls wherever applicable
- corrects mistyped urls with leading or trailing whitespaces
This commit is contained in:
parent
8af7c551ff
commit
14c524539b
3 changed files with 4 additions and 4 deletions
|
@ -10,7 +10,7 @@
|
|||
{{- with .buttons }}
|
||||
<div class="buttons">
|
||||
{{- range . -}}
|
||||
<a class="button" href="{{ .url }}" rel="noopener" title="{{ .name | humanize }}">
|
||||
<a class="button" href="{{ trim .url " " }}" rel="noopener" title="{{ .name | humanize }}">
|
||||
<span class="button-inner">{{ .name }}</span>
|
||||
</a>
|
||||
{{- end -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue