Style tags table

Fixes #39
This commit is contained in:
Oliver Davies 2017-09-05 13:58:42 +01:00
parent 25ee869a70
commit d10eabfd2e

View file

@ -16,22 +16,22 @@ generator:
<h2>"{{ page.tag }}"</h2> <h2>"{{ page.tag }}"</h2>
<div class="table-responsive"> <div class="table-responsive">
<table class="table table-striped"> <table class="w-100 ba b--moon-gray">
<thead> <thead>
<tr> <tr class="striped--light-gray">
<th>Post Title</th> <th class="pa2">Post Title</th>
<th>Date</th> <th class="pa2 w5">Date</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{% for post in page.tag_posts %} {% for post in page.tag_posts %}
<tr> <tr class="striped--light-gray">
<td> <td class="pa2">
<a href="{{ post.url }}"> <a href="{{ post.url }}">
{{ post.title }} {{ post.title }}
</a> </a>
</td> </td>
<td>{{ post.date|date('j F Y') }}</td> <td class="pa2">{{ post.date|date('j F Y') }}</td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>