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:
parent
1cbc635525
commit
010ada8292
1 changed files with 11 additions and 9 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue