[2024-02-16] Giving posts, weeklinks and til their own homepages

This commit is contained in:
Andrew Conlin 2024-02-16 17:21:50 +00:00
parent 79d4b62e4b
commit 2d69dae08f
4 changed files with 57 additions and 38 deletions

18
til.html Normal file
View file

@ -0,0 +1,18 @@
---
layout: default
title: til
permalink: /til
backlink: false
---
<h2>TIL</h2>
<ul style="list-style-type:none;margin:0;padding:0;">
{% for post in site.posts %}
{% assign category = post.category %}
{% if category == 'til' %}
<li>
<p><code>{{ post.date | date: "%Y-%m-%d" }}</code> // <a href="{{ post.url }}">{{ post.title }}</a></p>
</li>
{% endif %}
{% endfor %}
</ul>
<hr>