Reformat posts.html Liquid

This commit is contained in:
Xevion
2022-03-31 17:04:04 -05:00
parent 4c38de0065
commit 14e355ea8a

View File

@@ -5,7 +5,7 @@ layout: default
{{ content }} {{ content }}
{% for post in site.posts %} {% for post in site.posts %}
<div class="post_summary"> <div class="post_summary">
<div class="post_date"> <div class="post_date">
<a href="{{ post.url }}"> <a href="{{ post.url }}">
<time datetime="{{ post.date | date: '%Y-%m-%dT%H:%M:%SZ' }}"> <time datetime="{{ post.date | date: '%Y-%m-%dT%H:%M:%SZ' }}">
@@ -19,7 +19,10 @@ layout: default
</a> </a>
</div> </div>
<div class="post_combo"> <div class="post_combo">
<h2><a href="{{ post._link | default: post.url }}">{{ post.title }}</a></h2><i> <h2>
<a href="{{ post._link | default: post.url }}">{{ post.title }}</a>
</h2>
<i>
{%- for tag in post.tags -%} {%- for tag in post.tags -%}
{%- unless page.tag == tag -%} {%- unless page.tag == tag -%}
{{- "" -}}{{- tag -}} {{- "" -}}{{- tag -}}
@@ -28,9 +31,11 @@ layout: default
</i> </i>
</div> </div>
{{ post.excerpt }} {{ post.excerpt }}
</div> </div>
{% endfor %} {% endfor %}
<hr> <hr>
<p style="text-align: center;"><a href="/feed.xml">Atom</a> <p style="text-align: center;">
<a href="/feed.xml">Atom</a>
</p>