<p>I don't believe there's a more "magic" way than just hard coding the first list item/link, i.e. something like this:</p>

<pre><code>{% if entry.level &gt; 1 %}
    &lt;ul class="crumbs"&gt;
        &lt;li&gt;
            &lt;a href="/{{ entry.section.handle }}"&gt;{{ entry.section.name }}&lt;/a&gt;
        &lt;/li&gt;
        {% for crumb in entry.getAncestors() %}
            &lt;li&gt;{{ crumb.getLink() }}&lt;/li&gt;
        {% endfor %}
    &lt;/ul&gt;
{% endif %}
</code></pre>

CC BY-SA 3.0
2016-11-06T21:40:47.730Z
2016-11-06T21:40:47.730Z
Mats Mikkel Rummelhoff
<p>My Entry URL Format looks like this: <code>{section}/{slug}</code> and I am using the standard breadcrumbs code;</p>

<pre><code>   {% if entry.level &gt; 1 %}
    &lt;ul class="crumbs"&gt;
        {% for crumb in entry.getAncestors() %}
            &lt;li&gt;{{ crumb.getLink() }}&lt;/li&gt;
        {% endfor %}
    &lt;/ul&gt;
{% endif %}
</code></pre>

<p>This will parse:</p>

<pre><code>Home &gt; article &gt; entry-title
</code></pre>

<p>how can you add the {section} in as:</p>

<pre><code>Home &gt; section name &gt; article &gt; entry-title
</code></pre>

<navigation><sections>
Adding section in breadcrumbs
# Adding section in breadcrumbs

(Asked by: username_0 on 2016-11-06)

My Entry URL Format looks like this: {section}/{slug} and I am using the standard breadcrumbs code;
   {% if entry.level > 1 %}
    
        {% for crumb in entry.getAncestors() %}
            {{ crumb.getLink() }}
        {% endfor %}
    
{% endif %}

This will parse:
Home > article > entry-title

how can you add the {section} in as:
Home > section name > article > entry-title

**Tags:** navigation, sections

---

## 1 answers

### Answer by username_1 on 2016-11-06. Score: 1 | Accepted answer

I don't believe there's a more "magic" way than just hard coding the first list item/link, i.e. something like this:
{% if entry.level > 1 %}
    
        
            {{ entry.section.name }}
        
        {% for crumb in entry.getAncestors() %}
            {{ crumb.getLink() }}
        {% endfor %}
    
{% endif %}


---

