nunocoracao / blowfish

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

Table of Contents takes too much space #1607

Open shibumi opened 4 months ago

shibumi commented 4 months 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 4 months 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 4 months 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 4 months 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 3 months ago

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