Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-10-04T18:54:24.910Z
Answers.LastActivityDate: 2016-10-04T18:54:24.910Z
Answers.UserDisplayName: Korey
Body: <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>
  
Tags: <navigation><craft-features><bootstrap-craft>
Title: Homepage in Navigation
ThreadText: # 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...
  
  ```
  <ul>
    <li class="nav-item active">                                    
      <a class="nav-link" href="/">About</a>
    </li>
    <li class="nav-item">                                    
      <a class="nav-link" href="/schedule">Schedule</a>
    </li>
    <li class="nav-item">                                    
      <a class="nav-link" href="/media">Media</a>
    </li>
    <li class="nav-item">                                    
      <a class="nav-link" href="/contact">Contact</a>
    </li>
  </ul>
  
  ```
  
  The following works to create the last 3 pages, but the homepage (about) does not seem to create.
  
  ```
  <ul>
    {% set entries = craft.entries.section('page').find() %}
    {% nav navItem in entries %}
    <li class="nav-item{{ navItem.id == entry.id ? ' active' }}">                                    
      <a class="nav-link" href="{{ navItem.url }}">{{ navItem.title }}</a>
    </li>
    {% endnav %}
  </ul>
  
  ```
  
  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.
  
  ```
  <li class="nav-item{{ craft.request.firstSegment == "" ? ' active' }}">
    <a class="nav-link" href="/">{{ craft.entries.slug('_home_').entry.title }}</a>
  </li>
  
  ```
  
  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 %}
  <li class="nav-item{{ navItem.id == entry.id ? ' active' }}">                                    
    <a class="nav-link" href="{{ navItem.uri }}">{{ navItem.title }}</a>
  </li>
  {% endnav %}
  
  ```
  
  
  ---
  
  