Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-11-06T21:40:47.730Z
Answers.LastActivityDate: 2016-11-06T21:40:47.730Z
Answers.UserDisplayName: Mats Mikkel Rummelhoff
Body: <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>
  
Tags: <navigation><sections>
Title: Adding section in breadcrumbs
ThreadText: # 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 %}
      <ul class="crumbs">
          {% for crumb in entry.getAncestors() %}
              <li>{{ crumb.getLink() }}</li>
          {% endfor %}
      </ul>
  {% 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 %}
      <ul class="crumbs">
          <li>
              <a href="/{{ entry.section.handle }}">{{ entry.section.name }}</a>
          </li>
          {% for crumb in entry.getAncestors() %}
              <li>{{ crumb.getLink() }}</li>
          {% endfor %}
      </ul>
  {% endif %}
  
  ```
  
  
  ---
  
  