How to set a url path containing "index"?
shenwei356 opened this issue · 1 comments
shenwei356 commented
Sorry, if the title might be hard to explain.
Simply to say, I have a document file named "index" and the desired URL is http://xxx/usage/index
.
However, the index.md
file is usually the content of http://xxx.usage
itself. So currently, the menu item usage/index
is invisible and http://xxx/usage/index/
is 404.
Here are the paths.
$ ls content/usage/
_index.md index.md search.md utils
shenwei356 commented
Oh, I found the way. Just create an index
directory.
$ tree content/usage/
content/usage/
├── index
│ └── _index.md
├── _index.md
├── search.m