🐙 Templated web page generator for your git repositories
git clone https://github.com/m-col/gitja
Files | Refs | Readme | License

-rw-r--r-- templates/stagit/repo/index.html


      1 {% extends "../template.html.include" %}
      2 
      3 {%- block title -%}
      4 {{ description }}
      5 {%- endblock -%}
      6 
      7 {% block body %}
      8 {% include "repo-table-header.html.include" %}
      9 
     10 <div id="content">
     11   <table id="log">
     12     <thead>
     13       <tr>
     14         <td><b>Date</b></td>
     15         <td><b>Commit message</b></td>
     16         <td><b>Author</b></td>
     17       </tr>
     18     </thead>
     19 
     20     <tbody>
     21       {% for commit in commits[:50] %}
     22       <tr><td>{{ commit.authored[:16] }}</td><td><a href="commit/{{ commit.id }}.html">{{ commit.title }}</a></td><td>{{ commit.author }}</td></tr>
     23       {% endfor %}
     24     </tbody>
     25   </table>
     26 </div>
     27 {% endblock %}
     28