Anybody know how to show a list of pages without the date? #457
Unanswered
ericswpark
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all. I'm planning to add a section to my website that has a bunch of pages listed. These pages will be frequently updated, so the order will shift around a lot. Therefore, I don't want the default blog listing type where all the subdirectories (or pages in this case) are listed by date order.
However, I am not sure how to get the top-level page to show these sub-directory pages in an alphabetically sorted list. As a workaround, I tried this approach where I manually defined all the pages in the top-level page, as can be seen here: https://ericswpark.com/tools/ The relevant code snippet is here: https://github.com/ericswpark/ericswpark.github.io/blob/master/content/tools/_index.en.md
This kind of works, but is a chore to update whenever I add new tools/pages. Is there some sort of front matter I can add so that there is a list of tools/pages right underneath the description of the section?
Beta Was this translation helpful? Give feedback.
All reactions