Imagine a documentation website made with Hugo. Imagine that some pages would have 3 variants for the same content : beginner friendly, intermediate level, expert.
How would you implement this ?
I’m thinking of the next/previous page in section too, for example if you are already on an expert level page and you click the “next page” link, that should bring you to the expert level of the next page if available. Same for related pages. So it would be a whole “personalized” browsing.
I’m not totally sure how i would solve this with the current Hugo, but I would have this issue in mind. I’m on the last stretch implementing it. Should be ready within the next couple of weeks.
So, the dimensions language, version and role has some implicit meaning, but you can apply one of those (e.g. role) to your level.
With the new .Page.Rotate method you can add a link list saying “This article/site is also avaiable in intermediate and expert mode”, and on navigation the site will be viewed in that variant, with next/prev links all pointing to the correct variant.