-
Notifications
You must be signed in to change notification settings - Fork 558
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
Sidebar/TOC: width and chronological ordering? #885
Comments
Hi @dietervansteenwegen
|
@BernatBC allright, thanks. Chronological sorting seemed something so basic and obvious, I kind of expected it to be part of Hugo itself. Actually... Just realized I didn't check if it isn't possible by default in Hugo :(. Checked the Toha docs and source, but forgot Hugo base functionality. Will check tomorrow. |
The sidebar items are manually sorted so that you can organize posts into category and sub-category. However, the post cards are chronologically sorted. If you need sidebar to be more like other blog where it will be categorized by month/year, you will have to create a new sidebar layout. Hugo provides the basic functionalities to group/sort posts by date. |
I have the sidebar/TOC for the posts set up as I want it (with categories), but I'd like to change two more things:
menu: sidebar: weight: 10
value and setting it incrementing by date, but maybe there is setting somewhere?The text was updated successfully, but these errors were encountered: