Which folder should I put my static files in Jekyll?

后端 未结 2 1995
逝去的感伤
逝去的感伤 2021-02-20 05:31

While I am looking the doc. I saw the following document structure,

.
├── _config.yml
├── _drafts
|   ├── begin-with-the-crazy-ideas.textile
|   └── on-simplicit         


        
2条回答
  •  被撕碎了的回忆
    2021-02-20 06:14

    A static file can be placed anywhere within the site directory that is not a collection of some sort. So not within a directory that begins with "_". What makes it static is the fact that it does not have YAML frontmatter.

    Id recommend making a directory named "assets" or "images" and have them in there.

    edit:

    what are you trying to use the feature for?

提交回复
热议问题