mirror of
https://github.com/yuzu-emu/shared-bulma-theme.git
synced 2024-11-22 11:25:37 +01:00
Fixed single-image img shortcode not being centered.
This commit is contained in:
parent
5805be18dd
commit
a3b647313c
@ -6,7 +6,7 @@
|
|||||||
{{ $title := (index $items 1) }}
|
{{ $title := (index $items 1) }}
|
||||||
{{ $split_src := split $src "." }}
|
{{ $split_src := split $src "." }}
|
||||||
{{ $extension := index $split_src (sub (len $split_src) 1) }}
|
{{ $extension := index $split_src (sub (len $split_src) 1) }}
|
||||||
<div class="column">
|
<div class="column has-text-centered">
|
||||||
{{ if eq $extension "mp4" }}
|
{{ if eq $extension "mp4" }}
|
||||||
<video preload="auto" autoplay="autoplay" muted="muted" loop="loop" webkit-playsinline="">
|
<video preload="auto" autoplay="autoplay" muted="muted" loop="loop" webkit-playsinline="">
|
||||||
<source src="{{ $src }}" type="video/mp4">
|
<source src="{{ $src }}" type="video/mp4">
|
||||||
|
Loading…
Reference in New Issue
Block a user