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

The thumbnail image of Hugo should be displayed at the top the article. #1350

Open
diguage opened this issue May 8, 2023 · 1 comment
Open

Comments

@diguage
Copy link

diguage commented May 8, 2023

image

The build result:

image

@ahus1
Copy link
Contributor

ahus1 commented May 8, 2023

Thanks for suggesting this feature. AFAIK the layout you're asking for can't be generated by pure Asciidoctor technology, and showing the image is achieved via a custom Hugo template of the blog.

It might be possible to get a similar behavior in the preview by adding a docinfo which could include JavaScript to add the image from the information contained in the frontmatter. Again, it might be possible, and it will be definitely a happy adventure.

I'm adding a "help-wanted" label, maybe someone has the skills to tackle this. I assume I'll not pick it up soon as I'll be focusing on core features and the maintenance of the AsciiDoc plugin.

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