---
layout: docs-default
---

  <section class="docs">
    <div class="grid">

      {% include docs_contents_mobile.html %}

      <div class="unit five-sixths">
        <article>
            <div class="improve right hide-on-mobiles">
                <a href="https://github.com/{{ site.repository }}/edit/master{{ page.repo_path }}"><i class="fa fa-pencil"></i>&nbsp;Edit</a>
            </div>
          <h1>{{ page.title }}</h1>
          {{ content }}
          {% include section_nav.html %}
        </article>
      </div>

      {% include docs_contents.html %}

      <div class="clear"></div>

    </div>
  </section>

---
layout: docs-default
---

  <section class="docs">
    <div class="grid">

      {% include docs_contents_mobile.html %}

      <div class="unit five-sixths">
        <article>
            {% if page.repo_path %}
            <div class="improve right hide-on-mobiles">
                <a href="https://github.com/{{ site.repository }}/edit/master{{ page.repo_path }}"><i class="fa fa-pencil"></i>&nbsp;Edit</a>
            </div>
            {% endif %}
          <h1>{{ page.title }}</h1>
          {{ content }}
          {% include section_nav.html %}
        </article>
      </div>

      {% include docs_contents.html %}

      <div class="clear"></div>

    </div>
  </section>

Add edit link only if available
Add edit link only if available
