title: RoutablePageMixin and breadcrumbs
body: <p>A standard Wagtail breadcrumb system like this works perfectly if all of your pages are in a tree (parents/children):</p>
  
  <pre><code>{% block main %}
      {% if self.get_ancestors|length &gt; 1 %}
          &lt;ul class="breadcrumb"&gt;
              {% for page in self.get_ancestors %}
                  {% if page.is_root == False and page.url != '/' %}
                      &lt;li&gt;&lt;a href="{% pageurl page %}"&gt;{{ page.title }}&lt;/a&gt;&lt;/li&gt;
                  {% endif %}
              {% endfor %}
              &lt;li class="active"&gt;{{ self.title }}&lt;/li&gt;
          &lt;/ul&gt;
      {% endif %}
  {% endblock main %}
  </code></pre>
  
  <p>But it falls down if some of your sub-pages are not actual children, but instead use RoutablePageMixin. Because the routable pages are really different instances of the parent, the breadcrumb trail stops short of making it down to the routable page.</p>
  
  <p>I thought I could add some extra info to the context to detect the situation and special-case it, but all of the WT URL methods return the URL of the "parent" page (i.e. the actual instance), and besides there is no programmatic "title" that could be used in the breadcrumb. </p>
  
  <p>What's the best way to have a breadcrumb system that works equally well for child pages and routable pages?</p>