1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 12:52: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> </a>
</h2> </h2>
<p>{{ printf "%.200s" .Desc }}</p> <p>{{ printf "%.200s" .Desc }}</p>
<p><q cite="{{ .URL }}"> <p>
{{ $isMatch := false }} <q cite="{{ .URL }}">
{{ range .Frag }} {{- $isMatch := false -}}
{{ if $isMatch }}<strong>{{ end -}} {{- range .Frag -}}
{{ printf . }} {{- if $isMatch }}<strong>{{ end -}}
{{- if $isMatch }}</strong>{{ end }} {{- printf . -}}
{{ $isMatch = (not $isMatch) }} {{- if $isMatch }}</strong>{{ end -}}
{{ end }} {{- $isMatch = (not $isMatch) -}}
</q></p> {{- end -}}
</q>
</p>
</li> </li>
{{- end }} {{- end }}
</ol> </ol>