blowfish icon indicating copy to clipboard operation
blowfish copied to clipboard

[COSMETIC] Github Card shortcode + minify alters its appearance

Open CTHRU opened this issue 2 months ago • 0 comments

Describe the bug

To Reproduce Steps to reproduce the behavior:

  1. Add a GitHub card shortcode somewhere on your website.
  2. Build the website without minification:
hugo server
  1. Open the page with the GitHub card: it appears normal with language, stars and forks displayed on the same line.
  2. Now build the website with minification:
hugo server --minify
  1. Open the same page with the GitHub card: language, stars and forks and their respective numbers are each displayed on a new line.

Expected behavior The appearance of the GitHub card is the same when using --minify as the 'normal' one, i.e. language, stars and forks information appear all one the same line.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Zorin OS 17
  • Browser: tested both in Chromium and Firefox
  • Version : Chromium 124.0.6367.60 , Firefox 125.0.1

Hugo & Blowfish versions Hugo v0.125.1 + Blowfish v2.65.0

Additional context

CTHRU avatar Apr 22 '24 13:04 CTHRU