0
我想为我的集合中的页面定制永久链接。目录如下:“路径”永久链接财产在Jekyll集合
writing
|
--file.md
--file2.md
--some-dir/
|
--another.md
--something.md
我想要的网址是
- /writing/[file-title]/index.html
- /写/ [文件2标题] /指数html的
- /writing/some-dir/[another-title]/index.html
- /writing/some-dir/[something-title]/index.html
我想我的收藏设置permalink
到
permalink: /:collection/:path/:title
但:path
包含完整路径(包括文件名),而不是只是路径文件的目录。
有什么办法可以做到这一点?