nunocoracao / blowfish

Personal Website & Blog Theme for Hugo
https://blowfish.page
MIT License
1.35k stars 378 forks source link

Table of Contents takes too much space #1607

Open shibumi opened 1 month ago

shibumi commented 1 month ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to muc.sre.xyz
  2. Github Repository: https://github.com/SRE-MUC/sremuc

Expected behavior Table of contents should not take so much space.

Screenshots image

Hugo & Blowfish versions

HUGO_VERSION = "0.126.2"

Blowfish version = https://github.com/nunocoracao/blowfish/tree/c6c2689195eb47241c613a1e4b8d0828ebf3c6e4

shibumi commented 1 month ago

I have disabled the TOC for articles. This helped a little, but blowfish still wastes lots of space. Can I fix this somehow?

image

nunocoracao commented 1 month ago

Regarding the 1 point I can take a look and create a max size for the TOC should help... can you provide the example for that site so that I can try to reproduce it?

@shibumi to the second point this is using the logic provided by tailwind in order to optimize the number of characters per line that and increase readability for the end-user.

ilmax commented 1 month ago

@nunocoracao what's optimization is this in Tailwind? Maybe it we could introduce the ability to make the content larger via a configuration setting, what do you think?

P.S. Love the template and thank you for the effort and time you put into this!

shibumi commented 1 month ago

@nunocoracao The site is here: content/events/sre-munich-summer-event-2024.md