-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[Feature] Can you set caption for cover image? #17
Comments
The reason I want to set a caption in this case is for attribution. I would be ok with another way to do this but the first piece of text in the markdown file is rendered after the TOC. If there was a way to render the text before the TOC, I think that could work. |
Noted. |
* shown only on single page usage => in page-vars front-matter cover: image: '<image path/url>' alt: '<alt text>' caption: '<text>'
@adityatelange I see the new cover format in the commit. When I updated the theme with this new commit, the site build started failing with the following error. Looking at the file, will you only support the new format or maintain backward compatibility with existing format (
|
So I got it working by temporarily removing all past content out of the content directory. If I understand correctly, the issue is that this would require me to change all the previous posts with older cover formats to the new format which is quite a task 😢 Follow up asks
|
|
|
#17 (comment) your original issue had this kind of format, don't blame me if you don't like it |
Don't get me wrong, I'm not laying blame on you. Very thankful for the support so far but after thinking through this more what I'm outlining is a potential problem your users might find themselves in as they migrate from other themes. |
* allows users to add links and stuff #17
just use markdown to add links now d0c7635 |
This works, thank you! |
* shown only on single page usage => in page-vars front-matter cover: image: '<image path/url>' alt: '<alt text>' caption: '<text>'
* allows users to add links and stuff adityatelange#17
I'd like to set the following caption for the cover image
Here's an example from another theme - https://minimo.netlify.app/docs/cover-image/
The text was updated successfully, but these errors were encountered: