# Newbie question: how do I make my section visible on the root page?

**URL:** https://zola.discourse.group/t/newbie-question-how-do-i-make-my-section-visible-on-the-root-page/317
**Category:** Uncategorized
**Created:** [February 10, 2020, 10:52pm UTC](https://zola.discourse.group/t/newbie-question-how-do-i-make-my-section-visible-on-the-root-page/317 "2020-02-10T22:52:18Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![dimitarvp](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/dimitarvp/32/147_2.png) [@dimitarvp](https://zola.discourse.group/u/dimitarvp)
#### Post date: [February 10, 2020, 10:52pm UTC](https://zola.discourse.group/t/newbie-question-how-do-i-make-my-section-visible-on-the-root-page/317/1 "2020-02-10T22:52:18Z")

</div>

As per title, and apologies for this being likely too obvious.

I managed to get a hold of the basics and make pages render correctly, have paginators, use a theme, and a few other things.

However, having my blog articles inside `content/b`, I can’t see anything related to them on the root page (during `zola serve` to be precise).

Additionally, I also made my sidebar work. So, is there a way to have a sidebar-like functionality for the blog articles? Or all section articles?

I have `_index.md` in both `content` and `content/b` directories.

Bottom line: why is my section practically invisible from the root page?

---

<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: [February 11, 2020, 4:21pm UTC](https://zola.discourse.group/t/newbie-question-how-do-i-make-my-section-visible-on-the-root-page/317/2 "2020-02-11T16:21:38Z")

</div>

You can iterate on `section.subsections` to get the path of subsections and then use `get_section` ([https://www.getzola.org/documentation/templates/overview/#get-section](https://www.getzola.org/documentation/templates/overview/#get-section)) to get them.

---

<div class="post-metadata">

### Author: ![SgtIria](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/sgtiria/32/85_2.png) [@SgtIria](https://zola.discourse.group/u/SgtIria)
#### Post date: [February 12, 2020, 8:18am UTC](https://zola.discourse.group/t/newbie-question-how-do-i-make-my-section-visible-on-the-root-page/317/3 "2020-02-12T08:18:11Z")

</div>

I have something like this in my index.html template:

```
{% for section in section.subsections | reverse %}
									
    {% set sub = get_section(path=section) %}
									
   <p class="title grow">
        <a href="{{sub.permalink | safe}}" class="button is-dark shadow is-normal">
            {{ sub.components | first | capitalize}}
        </a>
    </p>
									
{% endfor %}

```

So basically loop over subsections from the root, which will be the content directories in the content folder and then in my case I reverse the order. Then use the subsection to get the section permalink which I can link to.

Hope this gives you some ideas.

---

<div class="post-metadata">

### Author: ![SgtIria](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/sgtiria/32/85_2.png) [@SgtIria](https://zola.discourse.group/u/SgtIria)
#### Post date: [February 12, 2020, 8:41am UTC](https://zola.discourse.group/t/newbie-question-how-do-i-make-my-section-visible-on-the-root-page/317/4 "2020-02-12T08:41:15Z")

</div>

Posted to wrong place…

---

<div class="post-metadata">

### Author: ![dimitarvp](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/dimitarvp/32/147_2.png) [@dimitarvp](https://zola.discourse.group/u/dimitarvp)
#### Post date: [February 12, 2020, 11:48am UTC](https://zola.discourse.group/t/newbie-question-how-do-i-make-my-section-visible-on-the-root-page/317/5 "2020-02-12T11:48:49Z")

</div>

So you guys mean that this functionality doesn’t come out of the box? Slightly disappointing but on the other hand Zola seems very customisable for which I am grateful.

Thank you. I’ll see what I can put together and will report back.

---

<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: [February 12, 2020, 2:49pm UTC](https://zola.discourse.group/t/newbie-question-how-do-i-make-my-section-visible-on-the-root-page/317/6 "2020-02-12T14:49:36Z")

</div>

> [@dimitarvp](#):
>
> So you guys mean that this functionality doesn’t come out of the box? Slightly disappointing but on the other hand Zola seems very customisable for which I am grateful.

That’s because the template engine has to serialize everything to JSON so doing that by default everytime would kill performance, even if you don’t need it. If someone manages to skip that step in Tera, I’d be more than happy to make that the default 😉
