Microformat for photos

This commit is contained in:
2023-02-13 09:34:59 +11:00
parent 71ec805cd3
commit 714f7cd377

View File

@@ -7,7 +7,7 @@ article class="h-entry"
- if post.photos? - if post.photos?
- post.photos.each do |photo| - post.photos.each do |photo|
figure figure
img src=photo["value"] alt=photo["alt"] img class="u-photo" src=photo["value"] alt=photo["alt"]
figcaption figcaption
= photo["alt"] = photo["alt"]
div class="e-content" div class="e-content"