Figure captions
This commit is contained in:
@@ -7,8 +7,10 @@ article class="h-entry"
|
|||||||
article class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:text-gray-200 prose-a:text-blue-600 prose-a:no-underline hover:prose-a:underline prose-img:rounded"
|
article class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:text-gray-200 prose-a:text-blue-600 prose-a:no-underline hover:prose-a:underline prose-img:rounded"
|
||||||
- if post.videos?
|
- if post.videos?
|
||||||
- post.videos.each do |video|
|
- post.videos.each do |video|
|
||||||
video loop=true muted=true controls=true
|
figure
|
||||||
source type="video/mp4" src="#{video["value"]}"
|
video loop=true muted=true controls=true
|
||||||
|
source type="video/mp4" src="#{video["value"]}"
|
||||||
|
figcaption= video["alt"]
|
||||||
- if post.photos?
|
- if post.photos?
|
||||||
- post.photos.each do |photo|
|
- post.photos.each do |photo|
|
||||||
figure
|
figure
|
||||||
|
Reference in New Issue
Block a user