pre-commit formatter
This commit is contained in:
parent
ddec81c876
commit
a1cd164e9a
117 changed files with 153 additions and 170 deletions
|
@ -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 }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue