You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm using version 0.9.7 of your theme and I'm not setting any weights in the pages I'm creating since I want to order them alphabetically. To do this I set the ordersectionsby = "title" in the [params] section of my config.toml.
With this configuration I've noticed the following behaviour:
The Home page has a link to the next page but not a link to the previous page. [expected]
All intermediate pages have a link to the previous page and a link to the next page. [expected]
The last page has a link to the previous page and a link to a next page (that is the same as the previous page). [not expected]
Furthermore, the sidebar has the pages sorted alphabetically by their title however the navigation links themselves are still sorted by weight (which means they are "randomly" sorted in my case as I'm not assigning weights to the pages).
I've managed to fix this second issue by applying the following diff, however I'm not familiar with the inner workings of Hugo enough to understand how I can fix the first issue mentioned (this is my first time using Hugo).
P.S: I haven't created a PR for this diff since I'm not familiar with how Hugo works. This was just what I inferred from looking at some files and thus might not be the best way to tackle this problem.
The text was updated successfully, but these errors were encountered:
Hi, I'm using version
0.9.7
of your theme and I'm not setting any weights in the pages I'm creating since I want to order them alphabetically. To do this I set theordersectionsby = "title"
in the[params]
section of myconfig.toml
.With this configuration I've noticed the following behaviour:
Furthermore, the sidebar has the pages sorted alphabetically by their title however the navigation links themselves are still sorted by weight (which means they are "randomly" sorted in my case as I'm not assigning weights to the pages).
I've managed to fix this second issue by applying the following diff, however I'm not familiar with the inner workings of Hugo enough to understand how I can fix the first issue mentioned (this is my first time using Hugo).
P.S: I haven't created a PR for this diff since I'm not familiar with how Hugo works. This was just what I inferred from looking at some files and thus might not be the best way to tackle this problem.
The text was updated successfully, but these errors were encountered: