<!DOCTYPE html>
<html class="index" lang="fr">
  {{>head.html}}
  <body>
    {{#data}} {{#error}}
    <div id="content">
      <p>Github ne veut pas que tu vois ces informations...</p>
    </div>
    {{/error}} {{^error}}
    <div id="content">
      <h1 class="subtitle">Mes contributions</h1>
      <!-- Add URL? -->
      {{#projects}}
      <h2 class="subtitle">{{name}}</h2>
      <p>
        {{#pulls_merged}}
        <a target="_blank" href="{{url}} ">#{{id}}</a>
        {{/pulls_merged}}
      </p>
      {{/projects}}
      <h1 class="subtitle">En attente</h1>
      <p>
        {{#waiting}} {{#pulls_open}}
        <a target="_blank" href="{{url}} ">{{name}}#{{id}}</a>
        {{/pulls_open}} {{/waiting}}
      </p>
      <h1 class="subtitle">Non mergées</h1>
      <p>
        {{#closed}} {{#pulls_closed}}
        <a target="_blank" href="{{url}} ">{{name}}#{{id}}</a>
        {{/pulls_closed}} {{/closed}}
      </p>
    </div>
    {{/error}} {{/data}} {{>footer.html}}
  </body>
</html>