mirror of
https://github.com/Xevion/v2.xevion.dev.git
synced 2025-12-14 12:13:36 -06:00
Reformat posts.html Liquid
This commit is contained in:
@@ -5,32 +5,37 @@ 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' }}">
|
||||||
<span class="month">
|
<span class="month">
|
||||||
{{ post.date | date: '%b' }}</span><br>
|
{{ post.date | date: '%b' }}</span><br>
|
||||||
<span class="date">
|
<span class="date">
|
||||||
{{ post.date | date: '%d' }}</span><br>
|
{{ post.date | date: '%d' }}</span><br>
|
||||||
<span class="year">
|
<span class="year">
|
||||||
{{ post.date | date: '%Y' }}</span>
|
{{ post.date | date: '%Y' }}</span>
|
||||||
</time>
|
</time>
|
||||||
</a>
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="post_combo">
|
||||||
|
<h2>
|
||||||
|
<a href="{{ post._link | default: post.url }}">{{ post.title }}</a>
|
||||||
|
</h2>
|
||||||
|
<i>
|
||||||
|
{%- for tag in post.tags -%}
|
||||||
|
{%- unless page.tag == tag -%}
|
||||||
|
{{- " " -}}{{- tag -}}
|
||||||
|
{%- endunless -%}
|
||||||
|
{%- endfor -%}
|
||||||
|
</i>
|
||||||
|
</div>
|
||||||
|
{{ post.excerpt }}
|
||||||
</div>
|
</div>
|
||||||
<div class="post_combo">
|
|
||||||
<h2><a href="{{ post._link | default: post.url }}">{{ post.title }}</a></h2><i>
|
|
||||||
{%- for tag in post.tags -%}
|
|
||||||
{%- unless page.tag == tag -%}
|
|
||||||
{{- " " -}}{{- tag -}}
|
|
||||||
{%- endunless -%}
|
|
||||||
{%- endfor -%}
|
|
||||||
</i>
|
|
||||||
</div>
|
|
||||||
{{ post.excerpt }}
|
|
||||||
</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>
|
||||||
|
|||||||
Reference in New Issue
Block a user