<pre><code>{{ craft.app.getSections().getSectionByHandle('dogs').name }} 
</code></pre>

CC BY-SA 4.0
2018-05-07T18:04:49.423Z
2018-05-07T18:04:49.423Z
Robin Schambach
<p>I have an <code>index page</code> for articles in a <code>section</code>.  Call the section "dogs."</p>

<p><strong>How do I template to output the name of the <code>section</code>?</strong>  This is <code>not</code> an entry, but an index page.</p>

<templating>
How do I print the name of the Section on an index page
# How do I print the name of the Section on an index page

(Asked by: username_0 on 2018-05-07)

I have an `index page` for articles in a `section`. Call the section "dogs."

**How do I template to output the name of the `section`?** This is `not` an entry, but an index page.

**Tags:** templating

---

## 1 answers

### Answer by username_1 on 2018-05-07. Score: 2 | Accepted answer

{{ craft.app.getSections().getSectionByHandle('dogs').name }}


---

