-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Cover images for blog posts #4364
Comments
Thanks for suggesting. You know that you can use an image in the post excerpt, which is the displayed on the index page, as well as for the post? I know that this is not the same as a cover image, but for the time being, it might do the job.
I'm not sure what you mean. Should social cards also use the cover image as a background? |
I meant make it an option to set the generated social cards as cover images. |
I don't think they work well, since they're deliberately generated for social networks, i.e. the resolutions might be too low. |
Also, please share some examples (links + screenshots) how you imagine cover images to look, e.g. by other blogs. |
I just read your article on how to add cover images. In fact, you don't need to use theme extension to do so, just add the image to the Markdown file. You can add it below: ... or above the headline: Example code: ---
date: 2022-09-12
authors: [squidfunk]
description: >
Our new blog is built with the brand new built-in blog plugin. You can build
a blog alongside your documentation or standalone
categories:
- Blog
links:
- Getting started with Insiders: insiders/getting-started.md#requirements
- setup/setting-up-a-blog.md#built-in-blog-plugin
---
![K](https://placekitten.com/g/1440/900)
# Blog support just landed
__Hey there! You're looking at our new blog, built with the brand new
[built-in blog plugin]. With this plugin, you can easily build a blog alongside
your documentation or standalone.__ We can improve the spacing if the image is placed above, though. This allows the author to position the image as he likes. |
I'll add that to the blog post. Will let the blog post stay as-is otherwise, as it's hopefully still a useful example for doing more complex customisation. |
Great. Does that mean that this issue can be considered resolved? |
I think it'd be nice to have an alternative (so you could for instance have a cover image on the index page but not in the post) But super-low priority. |
I'd consider this an edge case, since just using Markdown offers the most flexibility. |
Contribution guidelines
I want to suggest an idea and checked that ...
Description
Add support for blog post cover images. It should be possible to display the cover images:
Ideally some style controls:
Is it worth considering supporting social cards as cover images, as part of this feature?
Use Cases
Make our blogs prettier
Screenshots / Mockups
No response
The text was updated successfully, but these errors were encountered: