Hugo
This commit is contained in:
@@ -0,0 +1 @@
|
||||
<img src="{{ .Get "url"}}" alt="{{ .Get "alt"}}" style="display:block;margin-left:auto;margin-right:auto;width:50%;height:auto;padding:10px;">
|
||||
@@ -1,14 +1,4 @@
|
||||
<!--
|
||||
<video autoplay loop muted playsinline aria-label='{{ .Get "label"}}'>
|
||||
<video autoplay loop muted playsinline aria-label='{{ .Get "label"}}' style="display:block;margin-left:auto;margin-right:auto;width:50%;height:auto;padding:10px;">
|
||||
{{ with .Get "mp4" }}<source src="{{ . }}" type="video/mp4">{{ end }}
|
||||
{{ with .Get "webm" }}<source src="{{ . }}" type="video/webm">{{ end }}
|
||||
<p> Your browser does not support video. </p>
|
||||
</video>
|
||||
-->
|
||||
|
||||
<video autoplay loop muted playsinline aria-label='{{ .Get "label"}}' style="width: 100%; height: auto;">
|
||||
{{ with .Get "mp4" }}<source src="{{ . }}" type="video/mp4">{{ end }}
|
||||
{{ with .Get "webm" }}<source src="{{ . }}" type="video/webm">{{ end }}
|
||||
<p> Your browser does not support video. </p>
|
||||
</video>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user