Open dyingway opened 3 years ago
If I understand correctly, you want sidebar structure like this?
- Posts
|_ Post 1
| _ Post 2
- Docs
| _ doc 1
| _ doc 2
Is it right?
i still learn english.thank you.
i just wanna two page,for one link as: https://github.com/hugo-toha/
post, sidebar just show the [POSTS] folder content :
https://github.com/hugo-toha/
docs ,show the [docs] folder content:Ok. Got it now. Currently, you can't do that. We have to add support for this use-case.
thank you. I'll try it myself first to see if I can solve it。HOPE you can add this soon,by the way,the toc is great.
You can keep this issue open so that we don't forget about it.
You can keep this issue open so that we don't forget about it.
Can you plan recently?
Actually, I am working on another theme for documentation(still work-in-progress): https://docklify.github.io/ This documentation theme will use SCSS, dark mode, new blog page structure etc. Once I am done with that theme, I will restructure this theme. This theme will inherit the documentation module of the new theme.
@Emily-0616 I have done something similar to what you request with my blog site. https://github.com/Rihoj/rayprogramming.com You will need to make some layouts for the page, check layouts.photography. Hopefully this points you in the right direction. I was never able to figure out how to phrase this for a post. I did references pieces of hugo-toha/guides#13 to help as well.
Describe the solution you'd like
Split page as [POSTS],[docs] folder,and decide to show the _index.md or the list.
Describe alternatives you've considered
i search the themes\toha\layouts_default\list.html,and themes\toha\layouts\partials\navigators\sidebar.html, but i can't understand what make it's work as every content to show up at the sidebar, i wanna Split the content with his own folder for different folder,it will make more [POSTS] page,i can Split and make the content as docs page.
thank you very much.