tranduyhung / grav-skeleton-clean-blog

Grav skeleton for Clean Blog Grav theme
MIT License
7 stars 6 forks source link

Folders in "home" #8

Open bartoszwanot opened 6 years ago

bartoszwanot commented 6 years ago

Hi,

I would like to clean up a little bit my blog and move articles between few folders. How I should do it correctly, so I will be able to show on main page all articles but when clicked on article I'll be redirected to proper folder? As an example here is a sample structure:

And on website I see:

So when I click on Article 1 my addres will change from https://site.com to https://site.com/news/article-1.

Is it possible to do such thing in this template?

Thanks in advance for your answer.

tranduyhung commented 6 years ago

Hi,

Unfortunately the theme doesn't support this menu structure, if you still want to use the theme, the only way is customizing its navigation to show the menu the way you want.

bartoszwanot commented 6 years ago

Hi,

Showing the menu structure isn't a problem for me. The problem is to show list of articles that are putted in different folders under main one (Home). If it's not possible, than maybe I can somehow show articles that are in folders that has the same level as Home? The structure in that case would look like this:

So in Home (which is main one visible after going to site.com) I would see Article 4 Article 2 Article 1 Article 3

tranduyhung commented 5 years ago

You can add your articles to a specific taxonomy and the homepage only shows the pages which are in that taxonomy.