MichaelCurrin / dev-cheatsheets

A collection of code snippets and CLI guides for quick and easy reference while coding
https://michaelcurrin.github.io/dev-cheatsheets/
MIT License
77 stars 26 forks source link

Use _index.md #28

Open MichaelCurrin opened 4 years ago

MichaelCurrin commented 4 years ago

There is a pattern from other projects

Will it work in Jekyll?

If I have frontmatter in it should be okay. Check that the path resolves too in the URL though.

MichaelCurrin commented 4 years ago

That is just a Hugo thing

It is hard in Jekyll

https://help.github.jp/enterprise/2.11/user/articles/files-that-start-with-an-underscore-are-missing/

https://jekyllrb.com/docs/configuration/options/

Even when using include: option for _index.md the file gets rendered as _index.html. So need a permalink option that will work.

MichaelCurrin commented 4 years ago
include:
  - _index.md