# "Error: Failed to render section" when running "zola serve"

**URL:** https://zola.discourse.group/t/error-failed-to-render-section-when-running-zola-serve/842
**Category:** Support
**Created:** [March 25, 2021, 1:19pm UTC](https://zola.discourse.group/t/error-failed-to-render-section-when-running-zola-serve/842 "2021-03-25T13:19:31Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![anon41748152](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@anon41748152](https://zola.discourse.group/u/anon41748152)
#### Post date: [March 25, 2021, 1:19pm UTC](https://zola.discourse.group/t/error-failed-to-render-section-when-running-zola-serve/842/1 "2021-03-25T13:19:31Z")

</div>

Hi,  
I am completely new to Zola and just now ran into a problem with a site we are running with Zola.  
The Site-structure looks just like this:  
 ![Bildschirmfoto 2021-03-25 um 13.51.50](https://global.discourse-cdn.com/free1/uploads/zola1/original/1X/6172adad312ba9451440eef8d9490fc9737a0af1.png)

Now, as soon as I run zola build or zola serve it starts creating the pages.  
But then I see an Error-Message like this (folder names are following the Screenshot example):

```
Error: Failed to render section '/content/site/version1_index.md'
Reason: Failed to render 'section.html' (error happened in a parent template)
Reason: Function call 'get_section' failed
Reason: Section `/content/_index.md` not found.

```

The thing is, /content/\_index.md exists and has the following content:

```
+++
render=false
+++

```

So now I have absolutely no clue where to start as I couldn’t find anything while googling and stuff…  
I would highly appreciate any help and if you need further information I’ll hand them to you 🙂

Many Greetings!

---

<div class="post-metadata">

### Author: ![Roman](https://avatars.discourse-cdn.com/v4/letter/r/ed8c4c/32.png) [@Roman](https://zola.discourse.group/u/Roman)
#### Post date: [March 25, 2021, 2:58pm UTC](https://zola.discourse.group/t/error-failed-to-render-section-when-running-zola-serve/842/2 "2021-03-25T14:58:08Z")

</div>

sorry if I got you wrong, but in your case `render=false` doesn’t matter, for your index.html folder `site` will be section and folders `version1` and `version2` will be subsection. Looks like you try to execute `get_section` and here is nothing to get. Do you have your project on github\gitlab?

---

<div class="post-metadata">

### Author: ![Ky2X1j8Tkrh](https://avatars.discourse-cdn.com/v4/letter/k/e8c25b/32.png) [@Ky2X1j8Tkrh](https://zola.discourse.group/u/Ky2X1j8Tkrh)
#### Post date: [March 26, 2021, 12:53am UTC](https://zola.discourse.group/t/error-failed-to-render-section-when-running-zola-serve/842/3 "2021-03-26T00:53:07Z")

</div>

> [@anon41748152](#):
>
> `Reason: Section `/content/\_index.md` not found.`

as the error says, you may don’t have the file “\_index.md” under the folder “content”. You HAVE to put a file named “\_index.md” to let the zola know it as a section.

---

<div class="post-metadata">

### Author: ![anon41748152](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@anon41748152](https://zola.discourse.group/u/anon41748152)
#### Post date: [March 26, 2021, 8:14am UTC](https://zola.discourse.group/t/error-failed-to-render-section-when-running-zola-serve/842/4 "2021-03-26T08:14:18Z")

</div>

Hi,  
thats the main problem. There is a \_index.md file inside the content/ folder. Thats why I just don’t understand the origin of the problem.

---

<div class="post-metadata">

### Author: ![anon41748152](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@anon41748152](https://zola.discourse.group/u/anon41748152)
#### Post date: [March 26, 2021, 8:16am UTC](https://zola.discourse.group/t/error-failed-to-render-section-when-running-zola-serve/842/5 "2021-03-26T08:16:33Z")

</div>

Hey,  
as far as I know, we use the “render=false” content because we only want our subsections to be shown and not the parent section which would be the content/ folder. I didn’t want to imply that the content of this file is wrong, just wanted to make clear that we have such file.  
I cannot give you any GitHub as this is a private project in our company so I can’t leak information to you.  
If you need any additional information just let me know and I’ll see what I can provide.

---

<div class="post-metadata">

### Author: ![Roman](https://avatars.discourse-cdn.com/v4/letter/r/ed8c4c/32.png) [@Roman](https://zola.discourse.group/u/Roman)
#### Post date: [March 26, 2021, 9:13am UTC](https://zola.discourse.group/t/error-failed-to-render-section-when-running-zola-serve/842/6 "2021-03-26T09:13:54Z")

</div>

looks like you need transparent mode, instead of `render=false` . Take a look to some Zola’s themes, it might be useful. or, tell a little bit more about your website structure, 'cause I can’t understand what you want to get exactly
