jpescador / hugo-future-imperfect

A ported theme with some extras for the Hugo static website engine
MIT License
308 stars 227 forks source link

Toggle to hide category in sidebar #99

Closed ParitoshBh closed 6 years ago

ParitoshBh commented 6 years ago

Expected Behavior

An option in config.toml something along the lines of socialAppearAtTop viz. displayCategories which essentially toggles Categories section in sidebar.

Current Behavior

Currently, there isn't a way to hide the Categories section in sidebar, unless I overlooked some part of documentation in which case it would be great if someone could point me the right direction.

Possible Solution

  1. Add displayCategories = false to config.toml.
  2. Wrap this block in if condition using displayCategories

Context

Aiming to keep the sidebar clean (and less cluttered). I'd rather prefer to dedicate a page to show all available (or most used) categories instead of crowding sidebar. Moreover, it adds a level of flexibility.

ParitoshBh commented 6 years ago

I can work on this. Went through the contributing documentation and just to make sure, I need to create a pull request and work on this (after cloning the repo and create a new feature branch). Is that correct?

I am relatively new to community contributions so please let me know if anything was skipped/missed!

pacollins commented 6 years ago

Nope, that's about it. If you have any more questions about contributing, feel free to ask!

On Wed, Dec 13, 2017 at 11:46 AM, Paritosh Bhatia notifications@github.com wrote:

I can work on this. Went through the contributing documentation and just to make sure, I need to create a pull request and work on this (after cloning the repo and create a new feature branch). Is that correct?

I am relatively new to community contributions so please let me know if anything was skipped/missed!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jpescador/hugo-future-imperfect/issues/99#issuecomment-351450185, or mute the thread https://github.com/notifications/unsubscribe-auth/AK1UydpVkrVWH1FrHSL2y4Gb7fhSCbD0ks5s__99gaJpZM4Q_85w .