layouts: remove trailing newlines in markup overrides
These add nbsp characters that look weird in pages Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
f0be40d519
commit
b790347878
|
@ -1,4 +1,4 @@
|
|||
<div class="image-caption">
|
||||
<img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" />
|
||||
<p>{{ .Text }}</p>
|
||||
</div>
|
||||
</div>
|
|
@ -1 +1 @@
|
|||
<a class="link" href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noreferrer"{{ end }}>{{ .Text | safeHTML }}</a>
|
||||
<a class="link" href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noreferrer"{{ end }}>{{ .Text | safeHTML }}</a>
|
Loading…
Reference in New Issue