1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-12-24 01:42:10 +00:00

Reduce unnecessary whitespace

This commit is contained in:
Rohan Kumar 2022-06-08 17:30:15 -07:00
parent 1cbc635525
commit 010ada8292
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -14,15 +14,17 @@
</a>
</h2>
<p>{{ printf "%.200s" .Desc }}</p>
<p><q cite="{{ .URL }}">
{{ $isMatch := false }}
{{ range .Frag }}
{{ if $isMatch }}<strong>{{ end -}}
{{ printf . }}
{{- if $isMatch }}</strong>{{ end }}
{{ $isMatch = (not $isMatch) }}
{{ end }}
</q></p>
<p>
<q cite="{{ .URL }}">
{{- $isMatch := false -}}
{{- range .Frag -}}
{{- if $isMatch }}<strong>{{ end -}}
{{- printf . -}}
{{- if $isMatch }}</strong>{{ end -}}
{{- $isMatch = (not $isMatch) -}}
{{- end -}}
</q>
</p>
</li>
{{- end }}
</ol>