<li>
  <a class="spec-link" href="{{this.route}}?ref={{currentBranchName}}">
    <section class="file-container group">
      {{#if this.empty}}
        <section class="file-details">
          <p class="file-name"><span class="empty-file" title="This file is empty" >&#x2205;&nbsp;&nbsp;{{this.name}}</span></p>
        </section>
      {{else if this.error}}
        <section class="file-details">
          <p class="file-name"><span class="parse-error" title="Error parsing file.">&#x1F645;&nbsp;&nbsp;{{this.name}}</span></p>
        </section>
      {{/if}}
      {{#if this.data}}
        {{#if this.editUrl}}
          <button class="feature-edit call-to-action" data-edit-url="{{this.editUrl}}">Edit</button>
        {{/if}}
        <section class="feature-summary">
          <p class="feature-name" title="{{this.filePath}}">{{this.data.name}}</p>
          {{#if this.data.description }}
          <p class="feature-description" title="{{this.data.description}}">{{this.data.description}}</p>
          {{/if }}
        </section>
      {{/if}}
    </section>
  </a>
</li>

<li>
  <a class="spec-link" href="{{this.route}}?ref={{currentBranchName}}">
    <section class="file-container group">
      {{#if this.empty}}
        <section class="file-details">
          <p class="file-name"><span class="empty-file" title="This file is empty" >&#x2205;&nbsp;&nbsp;{{this.name}}</span></p>
        </section>
      {{else if this.error}}
        <section class="file-details">
          <p class="file-name"><span class="parse-error" title="Error parsing file.">&#x1F645;&nbsp;&nbsp;{{this.name}}</span></p>
        </section>
      {{/if}}
      {{#if this.data}}
        {{> edit_button url=this.editUrl}}
        <section class="feature-summary">
          <p class="feature-name" title="{{this.filePath}}">{{this.data.name}}</p>
          {{#if this.data.description }}
          <p class="feature-description" title="{{this.data.description}}">{{this.data.description}}</p>
          {{/if }}
        </section>
      {{/if}}
    </section>
  </a>
</li>

Move the edit button into a partial so it is easier to reuse.
Move the edit button into a partial so it is easier to reuse.
