Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table of Contents takes too much space #1607

Open
shibumi opened this issue Jul 10, 2024 · 4 comments
Open

Table of Contents takes too much space #1607

shibumi opened this issue Jul 10, 2024 · 4 comments
Labels
investigating investigating the issue

Comments

@shibumi
Copy link

shibumi commented Jul 10, 2024

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
Copy link
Author

shibumi commented Jul 10, 2024

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
Copy link
Owner

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
Copy link

ilmax commented Jul 17, 2024

@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
Copy link
Author

shibumi commented Jul 20, 2024

@nunocoracao nunocoracao added the investigating investigating the issue label Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating investigating the issue
Projects
None yet
Development

No branches or pull requests

3 participants