Nicer layout for tagged posts
This commit is contained in:
parent
8d20d21b1b
commit
7481642f93
|
@ -8,10 +8,14 @@ data:
|
||||||
|
|
||||||
<a href="/tagged/mozilla.xml">RSS Feed</a>
|
<a href="/tagged/mozilla.xml">RSS Feed</a>
|
||||||
|
|
||||||
<ul>
|
<table>
|
||||||
{% for post in collections.posts.pages %}
|
{%- for post in collections.posts.pages %}
|
||||||
{%- if post.data.tags and post.data.tags contains "mozilla" -%}
|
{%- assign postyear = post.published_date | date: "%Y" %}
|
||||||
<li>{{ post.published_date | date: "%d %b %Y"}}: <a href="/{{post.permalink }}">{{post.title}}</a></li>
|
{%- if post.data.tags and post.data.tags contains "mozilla" -%}
|
||||||
{%- endif -%}
|
<tr>
|
||||||
{% endfor %}
|
<td>{{ post.published_date | date: "%d. %b %Y"}}</td>
|
||||||
</ul>
|
<td><a href="/{{post.permalink }}">{{post.title}}</a></td>
|
||||||
|
</tr>
|
||||||
|
{%- endif %}
|
||||||
|
{%- endfor %}
|
||||||
|
</table>
|
||||||
|
|
|
@ -8,10 +8,14 @@ data:
|
||||||
|
|
||||||
<a href="/tagged/rust.xml">RSS Feed</a>
|
<a href="/tagged/rust.xml">RSS Feed</a>
|
||||||
|
|
||||||
<ul>
|
<table>
|
||||||
{% for post in collections.posts.pages %}
|
{%- for post in collections.posts.pages %}
|
||||||
{%- if post.data.tags and post.data.tags contains "rust" -%}
|
{%- assign postyear = post.published_date | date: "%Y" %}
|
||||||
<li>{{ post.published_date | date: "%d %b %Y"}}: <a href="/{{post.permalink }}">{{post.title}}</a></li>
|
{%- if post.data.tags and post.data.tags contains "rust" -%}
|
||||||
{%- endif -%}
|
<tr>
|
||||||
{% endfor %}
|
<td>{{ post.published_date | date: "%d. %b %Y"}}</td>
|
||||||
</ul>
|
<td><a href="/{{post.permalink }}">{{post.title}}</a></td>
|
||||||
|
</tr>
|
||||||
|
{%- endif %}
|
||||||
|
{%- endfor %}
|
||||||
|
</table>
|
||||||
|
|
Loading…
Reference in a new issue