Jekyll: Include a file from directory outside of _includes

后端 未结 7 1525
陌清茗
陌清茗 2021-02-07 03:34

I have an directory called /patterns in my Jekyll site, whose structure generally looks generally like this:

_includes _layouts _site /patterns index

7条回答
  •  无人及你
    2021-02-07 03:43

    I think that collections will do what you need. They can be included and rendered as public html.

    Here's an example project that does just this.

提交回复
热议问题