<commit_before>{{> layout_start_document}}
<link rel="stylesheet" href="/public/css/features.css">
{{> layout_start_body}}
<main>
  <header>
    <h1>Available Specifications</h1>
  </header>
  {{#each projects}}
    <section class="project">
      <header>
        <h2 class="project-title" id={{this.name}}>
          <a class="quick-link" href="#{{this.name}}"><span class="quick-link-icon">&elsdot;</span><span class="project-name">{{this.name}}</span></a>
        </h2>
        <span class="project-commit">&commat;{{this.shortCommit}}</span>
        <span class="repo-link"><a href="{{this.scmUrl}}">(visit repository)</a></span>
        <button class="project-update call-to-action"><a href="features?update={{this.name}}">Update</a></button>
      </header>
      <div class="links-container">
        {{#each this.featureFilePaths}}
          <p><a class="spec-link" href="{{this.featureRoute}}">{{this.featureName}}</a></p>
        {{else}}
          <p>Sorry, this project does not appear to contain any specifications</p>
        {{/each}}
      </div>
    </section><commit_msg>Generalise the link on the project update button so it will still work when each project has its own page.<commit_after>{{> layout_start_document}}
<link rel="stylesheet" href="/public/css/features.css">
{{> layout_start_body}}
<main>
  <header>
    <h1>Available Specifications</h1>
  </header>
  {{#each projects}}
    <section class="project">
      <header>
        <h2 class="project-title" id={{this.name}}>
          <a class="quick-link" href="#{{this.name}}"><span class="quick-link-icon">&elsdot;</span><span class="project-name">{{this.name}}</span></a>
        </h2>
        <span class="project-commit">&commat;{{this.shortCommit}}</span>
        <span class="repo-link"><a href="{{this.scmUrl}}">(visit repository)</a></span>
        <button class="project-update call-to-action"><a href="?update={{this.name}}">Update</a></button>
      </header>
      <div class="links-container">
        {{#each this.featureFilePaths}}
          <p><a class="spec-link" href="{{this.featureRoute}}">{{this.featureName}}</a></p>
        {{else}}
          <p>Sorry, this project does not appear to contain any specifications</p>
        {{/each}}
      </div>
    </section>
{'fraction_non_alphanumeric': 0.2097130242825607, 'fraction_numerical': 0.003532008830022075, 'mean_word_length': 3.5963488843813387, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 79, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5480342', 'n_tokens_mistral': 705, 'n_tokens_neox': 700, 'n_words': 132}