-
Notifications
You must be signed in to change notification settings - Fork 25.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding caption
attribute to Feature Row
component
#1440
Comments
Thanks. What would be the purpose of a caption on the feature row? Just to include a byline/credit under the image? |
Yes, exactly. I wanted to use it to credit images similarly with what can be done with other components of your theme, without mixing it with the excerpt field. |
This has been added and will be available in an upcoming release of the theme. By adding feature_row:
- image_path: assets/images/unsplash-gallery-image-1-th.jpg
image_caption: "Image courtesy of [Unsplash](https://unsplash.com/)"
alt: "placeholder image 1"
title: "Placeholder 1"
excerpt: "This is some sample content that goes here with **Markdown** formatting." An example can be seen on this page. |
Use `image_caption` YAML front matter to assign a caption to the feature image, Markdown is allowed. Close #1440
Use `image_caption` YAML front matter to assign a caption to the feature image, Markdown is allowed. Close mmistakes#1440
Use `image_caption` YAML front matter to assign a caption to the feature image, Markdown is allowed. Close mmistakes#1440
Use `image_caption` YAML front matter to assign a caption to the feature image, Markdown is allowed. Close mmistakes#1440
It would be nice to be able to use the
caption
attribute in theFeature Row
component.bundle update
.bundle exec jekyll build
.Also, congratulations for all you've achieved with this theme, and thank you for all the work you've been continuously putting into it!
The text was updated successfully, but these errors were encountered: