Skip to content
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

Closed
1 of 5 tasks
lmserrano opened this issue Jan 2, 2018 · 3 comments
Closed
1 of 5 tasks

Adding caption attribute to Feature Row component #1440

lmserrano opened this issue Jan 2, 2018 · 3 comments

Comments

@lmserrano
Copy link

It would be nice to be able to use the caption attribute in the Feature Row component.

  • This is a question about using the theme.
  • This is a feature request.
  • I believe this to be a bug with the theme.
    • I have updated all gems with bundle update.
    • I have tested locally with 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!

@mmistakes
Copy link
Owner

Thanks.

What would be the purpose of a caption on the feature row? Just to include a byline/credit under the image?

@lmserrano
Copy link
Author

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.

@mmistakes
Copy link
Owner

mmistakes commented May 15, 2018

This has been added and will be available in an upcoming release of the theme.

By adding image_caption to a feature row item you can caption the image.

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.

luispuerto referenced this issue in luispuerto/luispuerto-net Jun 27, 2018
Use `image_caption` YAML front matter to assign a caption to the feature image, Markdown is allowed.

Close #1440
kkunapuli pushed a commit to kkunapuli/kkunapuli.github.io that referenced this issue May 30, 2019
Use `image_caption` YAML front matter to assign a caption to the feature image, Markdown is allowed.

Close mmistakes#1440
sumeetmondal pushed a commit to sumeetmondal/sumeetmondal.github.io that referenced this issue Sep 10, 2019
Use `image_caption` YAML front matter to assign a caption to the feature image, Markdown is allowed.

Close mmistakes#1440
jchwenger pushed a commit to jchwenger/jchwenger.github.io that referenced this issue May 5, 2023
Use `image_caption` YAML front matter to assign a caption to the feature image, Markdown is allowed.

Close mmistakes#1440
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants