The URLs of all pages can be configured freely. In this example, single article URLs are configured like this:
'<categories/0>/<slug>.html'
This will use the article’s first category as directory name, and the
article slug (which is usually set to the source file’s basename) as
the file name (followed by the .html
extension). If the article is not
included in any category, it will be placed directly in the output
folder (output
).
For index pages, the URLs of the first page and all subsequent pages can be configured separately. For example, the following configuration is used for the main index page, page one:
'index.html'
And all subsequent pages of the main index (for example, page two) use the following setting:
'page-<page>/index.html'
The same applies to the category and tag index pages, or any other index pages you might want to create.
Note that you may also use a simple static page as the main start page, and use another URL for the index listings.