Skip to content

Commit 6f92b9f

Browse files
committed
allow featured image caption style
1 parent bd4af31 commit 6f92b9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_includes/featured_image.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
decoding="async"
66
fetchpriority="high"/>
77
{%- if page.image_caption %}
8-
<figcaption class="overlay-caption">{{ page.image_caption }}</figcaption>
8+
<figcaption class="overlay-caption" {%- if page.image_caption_style %}style="{{ page.image_caption_style }}"{%- endif %}>{{ page.image_caption }}</figcaption>
99
{%- endif %}
1010
</figure>
1111
{%- endif %}

0 commit comments

Comments
 (0)