# \_sites folder does not have all resources

**URL:** <https://talk.jekyllrb.com/t/-sites-folder-does-not-have-all-resources/762>\
**Category:** Help\
**Created:** [July 9, 2017, 7:20am UTC](https://talk.jekyllrb.com/t/-sites-folder-does-not-have-all-resources/762 "2017-07-09T07:20:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lappet](https://avatars.discourse-cdn.com/v4/letter/l/f14d63/32.png) [@lappet](https://talk.jekyllrb.com/u/lappet)\
**Post date:** [July 9, 2017, 7:20am UTC](https://talk.jekyllrb.com/t/-sites-folder-does-not-have-all-resources/762/1 "2017-07-09T07:20:12Z")

</div>

Hi there,

I am new to Jekyll and am trying to figure out how people deploy the \_site folder. I am able to run `jekyll serve` and see the site with the default minima theme. However, when I run `jekyll build`, it doesn’t copy over folders like \_layouts, \_includes, etc to \_site. How do I make Jekyll do this? How do you guys deploy the site? I tried disabling the Gem theme and manually copying those folders but that didn’t work either.

Thanks,  
Ravi

---

<div class="post-metadata">

**Author:** ![mmistakes](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/mmistakes/32/2169_2.png) [@mmistakes](https://talk.jekyllrb.com/u/mmistakes)\
**Post date:** [July 9, 2017, 1:30pm UTC](https://talk.jekyllrb.com/t/-sites-folder-does-not-have-all-resources/762/2 "2017-07-09T13:30:09Z")

</div>

Think you may be confused as to what Jekyll is doing when you `build` or `serve`.

It copies any static assets that aren’t `_` underscore prefixed… e.g. images, JavaScript, fonts, stylesheets, etc to the `_site` folder.

And it generates HTML out of your `_posts`, `_layouts`, and `_includes`, placing them into `_site`. It doesn’t copy the source files there for a few reasons:

1. They’re source files and not something you typically need to deploy.
2. They’re in `_` underscore prefixed folders which Jekyll ignores by default when copying.

---

<div class="post-metadata">

**Author:** ![lappet](https://avatars.discourse-cdn.com/v4/letter/l/f14d63/32.png) [@lappet](https://talk.jekyllrb.com/u/lappet)\
**Post date:** [July 9, 2017, 4:22pm UTC](https://talk.jekyllrb.com/t/-sites-folder-does-not-have-all-resources/762/3 "2017-07-09T16:22:42Z")

</div>

Thanks, I think I figured out the issue. The html pages in \_site cannot be opened using the file:// syntax for some reason, they have to be served through a HTTP server. Running `python -m SimpleHTTPServer` is a good way to play around with that.
