gokarna-theme / gokarna-hugo

A minimal opinionated theme for Hugo
https://gokarna-hugo.netlify.app
GNU General Public License v3.0
358 stars 140 forks source link

Add option to change table of contents position to the left side of page #149

Open haekal-alg opened 1 year ago

haekal-alg commented 1 year ago

The current table of content is positioned to the right side of the page contrary to the usual place which is to the left.

Taken directly from Gokarna documentation: image

It would be nice to make choosing the preferred ToC location (left or right) to be an option.

mansoorbarri commented 11 months ago

I tried to do this but TOC on the left makes the page look a bit weird because the left side is too crowded and right side is dry.

If I move the content div a bit towards the right, it shifts content in list-post.html template as well

IMG_20231113_090804_298.jpg

mansoorbarri commented 8 months ago

@yashmehrotra ?

yashmehrotra commented 7 months ago

@mansoorbarri Agree with you

This makes it look more like documentation than a blog, if there is demand for it we can put this as an option but does not look very good

mansoorbarri commented 7 months ago

should I make a PR then? or not?

526avijitgupta commented 7 months ago

I agree with @yashmehrotra let's hold off the change for now, unless it's requested by more people