luizdepra / hugo-coder

A minimalist blog theme for hugo.
MIT License
2.69k stars 1.05k forks source link

External links cause new line insertion #929

Open gaborbernat opened 1 week ago

gaborbernat commented 1 week ago

With the latest version, shields get separated on new lines:

image see at https://bernat.tech/about

This wasn't the case before. Might be related to https://github.com/gohugoio/hugo/issues/11319

## Bernát Gábor (from 🇭🇺🇷🇴🇬🇧), living in Los Angeles 🇺🇸

[![Github Sponsor](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&link=https://github.com/sponsors/gaborbernat&style=flat-square)](https://github.com/sponsors/gaborbernat)
[![Twitter Badge](https://img.shields.io/badge/-@gjbernat-1ca0f1?style=flat-square&labelColor=1ca0f1&logo=twitter&logoColor=white&link=https://twitter.com/gjbernat)](https://twitter.com/gjbernat)
[![PyPI](https://img.shields.io/badge/-gaborbernat-0073b7?style=flat-square&logo=Python&logoColor=white&link=https://pypi.org/user/gaborbernat/)](https://pypi.org/user/gaborbernat/)
[![Linkedin Badge](https://img.shields.io/badge/-gaborbernat-blue?style=flat-square&logo=Linkedin&logoColor=white&link=https://www.linkedin.com/in/gaborbernat/)](https://www.linkedin.com/in/gaborbernat/)
[![MAIL Badge](https://img.shields.io/badge/-gaborjbernat@gmail.com-c14438?style=flat-square&logo=Gmail&logoColor=white&link=mailto:gaborjbernat@gmail.com)](mailto:gaborjbernat@gmail.com)
luizdepra commented 1 week ago

Yup. This problem looks like it is related to that Hugo's issue. You could put all shields in the same line. Dirty, but will solve the problem for the moment.

Also, there is the problem with the external link and images. Firefox finally implemented :has(), so I'm going to push a fix for that.