dev-cheatsheets icon indicating copy to clipboard operation
dev-cheatsheets copied to clipboard

Use _index.md

Open MichaelCurrin opened this issue 5 years ago • 2 comments
trafficstars

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 avatar Aug 31 '20 13:08 MichaelCurrin

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 avatar Aug 31 '20 13:08 MichaelCurrin

include:
  - _index.md

MichaelCurrin avatar Aug 31 '20 13:08 MichaelCurrin