Jekyll: Include a file from directory outside of _includes

后端 未结 7 1532
陌清茗
陌清茗 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:46

    I put a symlink in place of the _includes directory that points where I want, since includes_dir doesn't seem to like ../ to specify a relative (one or more directories higher) path.

提交回复
热议问题