HugoBlox / hugo-blox-builder

🚨 GROW YOUR AUDIENCE WITH HUGOBLOX! 🚀 HugoBlox is an easy, fast no-code website builder for researchers, entrepreneurs, data scientists, and developers. Build stunning sites in minutes. 适合研究人员、企业家、数据科学家和开发者的简单快速无代码网站构建器。用拖放功能、可定制模板和内置SEO工具快速创建精美网站!
https://hugoblox.com/templates/
MIT License
8.03k stars 2.87k forks source link

Author formatting in tailwind publications #3112

Closed djps closed 7 hours ago

djps commented 2 months ago

Preliminary Checks

Description

The formatting of the authors in a publication page in tailwind has a space between the author and the comma and there is no comma separating an author with a photo and those without photos.

Reproduction Link

https://github.com/HugoBlox/hugo-blox-builder

Steps to Reproduce

  1. Build site

Expected Result

Author, Photo New Author, Last Author

Actual Result

Author Photo New Author , Last Author

What Hugo Module versions does your site use?

module github.com/HugoBlox/theme-documentation

go 1.19

require ( github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231209203044-d31adfedd40b github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240602133901-492e343c2a33 github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-reveal v1.1.2 )

What operating system(s) are you seeing the problem on?

Windows

What browser(s) are you seeing the problem on?

Chrome

Which Hugo Blox template are you using?

documentation

What version of Hugo are you using?

Hugo version: 0.127.0

gcushen commented 1 month ago

It was intended to have no comma between two avatar photos, as it can be redundant and become unnecessarily verbose, pushing the article metadata onto multiple lines in the case of a few authors.

The downside, as in your use case, is that if some users have avatars uploaded and others don't then the comma separation may appear inconsistent.

The optimal solution for multiple authors might be just to stack all the author avatars at the start (similar to how other popular websites address multiple authors) and then follow that with a list of authors separated by commas...

github-actions[bot] commented 5 days ago

This issue is stale because it has not had any recent activity. The resources of the project maintainers are limited, and so we are asking for your help.

If this is a bug and you can still reproduce this error on the main branch, consider contributing a Pull Request with a fix.

If this is a feature request, and you feel that it is still relevant and valuable, consider contributing a Pull Request for review.

This issue will automatically close soon if no further activity occurs. Thank you for your contributions.