feat: Remove blank parameter it's a bad practice, why it's here ?
This commit is contained in:
		@@ -8,7 +8,7 @@
 | 
			
		||||
{{- if $isWebLink -}}
 | 
			
		||||
  {{ $hasSlash := in .Destination "/" }}
 | 
			
		||||
  {{ $link := cond (and $isWebLink (and (not $hasSlash) (not $isExternalLink))) (path.Join "/" .Page.File.Dir .Destination) .Destination }}
 | 
			
		||||
  <a href="{{ $link | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if $isExternalLink }} target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a>
 | 
			
		||||
  <a href="{{ $link | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if $isExternalLink }} rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a>
 | 
			
		||||
{{- else if $isMailtoLink -}}
 | 
			
		||||
  {{ partial "contact/mail" .Destination }}
 | 
			
		||||
{{- else if $isTelLink -}}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user