How to limit navigation by entry type I couldn't find this anywhere so I thought I would post the answer. How do you limit the output of a navigation element to a specific entry type. 

This question is explicitly for the navigation element - I only want to show a specific entry type in a navigation element.
Both of these work:

{% set sectionNamePages = craft.entries.section('sectionName').type('entryTypeA').level(1) %}
{% for page in sectionNamePages %}
    &lt;li class="{{ page.id == entry.id ? 'active' }}"&gt;{{ page.getLink() }}&lt;/li&gt;
{% endfor %}


{% set sectionNamePages = craft.entries.section('sectionName').level(1) %}
{% for page in sectionNamePages.type('entryTypeA') %}
    &lt;li class="{{ page.id == entry.id ? 'active' }}"&gt;{{ page.getLink() }}&lt;/li&gt;
{% endfor %}