mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 01:35:56 +01:00
Fix double spaces before links on curiosities page
This commit is contained in:
parent
3b7353b1f0
commit
38a674a979
1 changed files with 1 additions and 1 deletions
|
@ -18,5 +18,5 @@
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- $ref := partial "reference.obj" (dict "url" $url "references" .references) -}}
|
{{- $ref := partial "reference.obj" (dict "url" $url "references" .references) -}}
|
||||||
{{- $url = $ref.archiveURL | default $url }}
|
{{- $url = $ref.archiveURL | default $url -}}
|
||||||
<a href="{{ $url | safeURL }}"{{ with .Class }} class="{{ . }}"{{ end }}{{ with $title }} title="{{ . }}"{{ end }}{{ if $isExternal }} target="_blank"{{ end }}{{ with $ref.rel }} rel="{{ . }}"{{ end }}>{{ $text | safeHTML }}</a>
|
<a href="{{ $url | safeURL }}"{{ with .Class }} class="{{ . }}"{{ end }}{{ with $title }} title="{{ . }}"{{ end }}{{ if $isExternal }} target="_blank"{{ end }}{{ with $ref.rel }} rel="{{ . }}"{{ end }}>{{ $text | safeHTML }}</a>
|
Loading…
Reference in a new issue