Fix media and columns
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
{% endif %}
|
||||
{% if include.type == "image" %}
|
||||
<picture
|
||||
class="content"
|
||||
src="{{ include.url | absolute_url }}"
|
||||
{% if include.width %}width="{{ include.width }}"{% endif %}
|
||||
{% if include.height %}height="{{ include.height }}"{% endif %}>
|
||||
@@ -14,6 +15,7 @@
|
||||
</picture>
|
||||
{% elsif include.type == "video" %}
|
||||
<video controls
|
||||
class="content"
|
||||
{% if include.poster %}poster="{{ include.poster | absolute_url }}"{% endif %}
|
||||
{% if include.preload %}preload="{{ include.preload }}"{% endif %}
|
||||
src="{{ include.url | absolute_url }}"
|
||||
@@ -26,6 +28,7 @@
|
||||
</video>
|
||||
{% elsif include.type == "audio" %}
|
||||
<audio controls
|
||||
class="content"
|
||||
{% if include.preload %}preload="{{ include.preload }}"{% endif %}
|
||||
src="{{ include.url | absolute_url }}"
|
||||
{% if include.width %}width="{{ include.width }}"{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user