complete overhaul of site in delan abazani's style, minor edits concerning projects & home tag filtering

This commit is contained in:
Xevion
2020-12-04 11:14:23 -06:00
parent ee826879da
commit 26955a69d9
37 changed files with 509 additions and 28 deletions

36
_layouts/posts.html Normal file
View File

@@ -0,0 +1,36 @@
---
layout: default
---
{{ content }}
{% for post in site.posts %}
<div class="post_summary">
<div class="post_date">
<a href="{{ post.url }}">
<time datetime="{{ post.date | date: '%Y-%m-%dT%H:%M:%SZ' }}">
<span class="month">
{{ post.date | date: '%b' }}</span><br>
<span class="date">
{{ post.date | date: '%d' }}</span><br>
<span class="year">
{{ post.date | date: '%Y' }}</span>
</time>
</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>
{% endfor %}
<hr>
<p style="text-align: center;"><a href="/feed/tag/{{ page.tag }}.xml">Atom</a>