pre-commit formatter

This commit is contained in:
Junyi Hou 2024-04-09 20:03:09 +08:00
parent ddec81c876
commit a1cd164e9a
117 changed files with 153 additions and 170 deletions

View file

@ -1,10 +1,10 @@
<video
class="video-shortcode"
preload="{{ .Get "preload" | default "auto" }}"
<video
class="video-shortcode"
preload="{{ .Get "preload" | default "auto" }}"
controls
>
<source
src="{{ .Get "src" }}"
<source
src="{{ .Get "src" }}"
type="{{ .Get "type" }}"
{{ if or (.Get "alt") (.Get "caption") }}
alt="{{ with .Get "alt" }}{{ . }}{{ else }}{{ .Get "caption" | markdownify | plainify }}{{ end }}"
@ -17,4 +17,3 @@
{{ .Get "caption" | markdownify }}
</figcaption>
{{ end }}