Use table styling for tag table

This commit is contained in:
Oliver Davies 2017-11-28 12:36:32 +00:00
parent 178dc634e9
commit d1dfdb2b18

View file

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