# How to avoid generation of sections at all?

**URL:** <https://zola.discourse.group/t/how-to-avoid-generation-of-sections-at-all/349>\
**Category:** Support\
**Created:** [March 12, 2020, 7:55am UTC](https://zola.discourse.group/t/how-to-avoid-generation-of-sections-at-all/349 "2020-03-12T07:55:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![florianb](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/florianb/32/163_2.png) [@florianb](https://zola.discourse.group/u/florianb)\
**Post date:** [March 12, 2020, 7:55am UTC](https://zola.discourse.group/t/how-to-avoid-generation-of-sections-at-all/349/1 "2020-03-12T07:55:06Z")

</div>

Hi ,

i’d like to generate a single-page site. Is it possible to avoid the generation of corresponding section-directories at all?

I already have a index-template which is rendering the whole content of my sections. Even though i set the corresponding section’s `render = false` and the page’s `draft = true`, the section’s directory (public/section) is still being generated.

Is there a way to avoid that?

Thanks in advance! 😃

---

<div class="post-metadata">

**Author:** ![keats](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@keats](https://zola.discourse.group/u/keats)\
**Post date:** [March 12, 2020, 10:05am UTC](https://zola.discourse.group/t/how-to-avoid-generation-of-sections-at-all/349/2 "2020-03-12T10:05:10Z")

</div>

Hi,

No way currently to do that. There was a thread or an issue about making sections draftable which would solve that I think.

---

<div class="post-metadata">

**Author:** ![florianb](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/florianb/32/163_2.png) [@florianb](https://zola.discourse.group/u/florianb)\
**Post date:** [March 12, 2020, 10:17am UTC](https://zola.discourse.group/t/how-to-avoid-generation-of-sections-at-all/349/3 "2020-03-12T10:17:09Z")

</div>

Thanks @keats, is this something you’d see as a desirable feature?

---

<div class="post-metadata">

**Author:** ![keats](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@keats](https://zola.discourse.group/u/keats)\
**Post date:** [March 12, 2020, 5:37pm UTC](https://zola.discourse.group/t/how-to-avoid-generation-of-sections-at-all/349/4 "2020-03-12T17:37:47Z")

</div>

If someone can do a performant version yes: [https://github.com/getzola/zola/issues/927](https://github.com/getzola/zola/issues/927)
