<p>I was able to figure out how to get this working...See the following..</p>

<pre><code>{% set entries = craft.entries.section('homepage, page').find() %}
{% nav navItem in entries %}
&lt;li class="nav-item{{ navItem.id == entry.id ? ' active' }}"&gt;                                    
  &lt;a class="nav-link" href="{{ navItem.uri }}"&gt;{{ navItem.title }}&lt;/a&gt;
&lt;/li&gt;
{% endnav %}
</code></pre>

CC BY-SA 3.0
2016-10-04T18:54:24.910Z
2016-10-04T18:54:24.910Z
Korey
<p>I've been trying to get the homepage to show up in the navigation...</p>

<p>What I'd like to display is the following...</p>

<pre><code>&lt;ul&gt;
  &lt;li class="nav-item active"&gt;                                    
    &lt;a class="nav-link" href="/"&gt;About&lt;/a&gt;
  &lt;/li&gt;
  &lt;li class="nav-item"&gt;                                    
    &lt;a class="nav-link" href="/schedule"&gt;Schedule&lt;/a&gt;
  &lt;/li&gt;
  &lt;li class="nav-item"&gt;                                    
    &lt;a class="nav-link" href="/media"&gt;Media&lt;/a&gt;
  &lt;/li&gt;
  &lt;li class="nav-item"&gt;                                    
    &lt;a class="nav-link" href="/contact"&gt;Contact&lt;/a&gt;
  &lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>The following works to create the last 3 pages, but the homepage (about) does not seem to create.</p>

<pre><code>&lt;ul&gt;
  {% set entries = craft.entries.section('page').find() %}
  {% nav navItem in entries %}
  &lt;li class="nav-item{{ navItem.id == entry.id ? ' active' }}"&gt;                                    
    &lt;a class="nav-link" href="{{ navItem.url }}"&gt;{{ navItem.title }}&lt;/a&gt;
  &lt;/li&gt;
  {% endnav %}
&lt;/ul&gt;
</code></pre>

<p>The following works for a semi-dynamic homepage... however the name does not create... (If they change the title of the homepage on the backend, I'd like it to switch on the front-end.</p>

<pre><code>&lt;li class="nav-item{{ craft.request.firstSegment == "" ? ' active' }}"&gt;
  &lt;a class="nav-link" href="/"&gt;{{ craft.entries.slug('_home_').entry.title }}&lt;/a&gt;
&lt;/li&gt;
</code></pre>

<p>Could anyone with a bit more experience with this give me some insight? I'm confused outta my mind.</p>

<navigation><craft-features><bootstrap-craft>
Homepage in Navigation
# Homepage in Navigation

(Asked by: username_0 on 2016-10-04)

I've been trying to get the homepage to show up in the navigation...
What I'd like to display is the following...

                                      
    About
  
                                      
    Schedule
  
                                      
    Media
  
                                      
    Contact
  


The following works to create the last 3 pages, but the homepage (about) does not seem to create.

  {% set entries = craft.entries.section('page').find() %}
  {% nav navItem in entries %}
                                      
    {{ navItem.title }}
  
  {% endnav %}


The following works for a semi-dynamic homepage... however the name does not create... (If they change the title of the homepage on the backend, I'd like it to switch on the front-end.

  {{ craft.entries.slug('_home_').entry.title }}


Could anyone with a bit more experience with this give me some insight? I'm confused outta my mind.

**Tags:** navigation, craft-features, bootstrap-craft


---

## 1 answers

### Answer by username_0 on 2016-10-04. Score: 1

I was able to figure out how to get this working...See the following..
{% set entries = craft.entries.section('homepage, page').find() %}
{% nav navItem in entries %}
                                    
  {{ navItem.title }}

{% endnav %}


---

