Big edit, added Poultry Highway post and various media
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<img src="{{ .Get "src" }}"
|
||||
alt="{{ .Get "alt" | default "Image" }}"
|
||||
{{ with .Get "class" }}class="{{ . }}"{{ end }}
|
||||
{{ with .Get "width" }}width="{{ . }}"{{ end }}
|
||||
{{ with .Get "height" }}height="{{ . }}"{{ end }} />
|
||||
@@ -1,5 +1,5 @@
|
||||
<div class="video-container" style="text-align: center; margin: 20px 0;">
|
||||
<video controls preload="metadata" width="{{ .Get "width" | default "100%" }}" style="max-width: 100%; height: auto; border-radius: 4px;">
|
||||
<div class="video-container" style="text-align: center; margin: auto;">
|
||||
<video controls preload="metadata" width="{{ .Get "width" | default "100" }}" style="max-width: 100%; height: auto; border-radius: 4px;">
|
||||
<source src="{{ .Get "src" }}" type="video/mp4">
|
||||
Your browser does not support the video tag.
|
||||
</video>
|
||||
|
||||
Reference in New Issue
Block a user