Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set index page for automatic page creation ? #83

Open
myicq opened this issue Mar 3, 2018 · 2 comments
Open

Set index page for automatic page creation ? #83

myicq opened this issue Mar 3, 2018 · 2 comments

Comments

@myicq
Copy link

myicq commented Mar 3, 2018

Upgraded to v 0.16, really like the automatic page generation feature. Makes it trivial to add lots of auto-generated pages.

But if I generate a page in a non-English language, it's a bit annoying to have the automatic index page forced.

Would it be possible to add option to set an index page name, like "__index.md" or similar ? That way the logic from json file is continued, and it can be used or left out as desired.

I did try something like
"Mylooptest" {
"__index" : "loopdir/**"
}

.. but it created an undesired result.

Alternatively - I could design my own auto-index-page, but I guess that would open a whole can of worms.

Thanks for a great product!

@FransBouma
Copy link
Owner

Why would a non-english language force an automatic index page but using english would not? Could you give an example?

@myicq
Copy link
Author

myicq commented Mar 5, 2018

Frans, did not mean to say that English does not. Sorry if it came out that way.

But since the English text "Please select one of the topics in this section:" is hardcoded, it will match English content, and look incorrect in other languages.

I ask this because I prefer to have the section name for subpages point to a page with content, and not just an index page with static layout. And unfortunately this is not possible on auto-generated content.

It's nothing urgent, or a big problem, just a "nice to have" extension of the auto-generation feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants