[2024-02-16] Giving posts, weeklinks and til their own homepages
This commit is contained in:
parent
79d4b62e4b
commit
2d69dae08f
19
blog.html
Normal file
19
blog.html
Normal file
@ -0,0 +1,19 @@
|
||||
---
|
||||
layout: default
|
||||
title: blog
|
||||
permalink: /blog
|
||||
backlink: false
|
||||
---
|
||||
|
||||
<h2>Posts</h2>
|
||||
<ul style="list-style-type:none;margin:0;padding:0;">
|
||||
{% for post in site.posts %}
|
||||
{% assign category = post.category %}
|
||||
{% if category == 'blog' %}
|
||||
<li>
|
||||
<p><code>{{ post.date | date: "%Y-%m-%d" }}</code> // <a href="{{ post.url }}">{{ post.title }}</a></p>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<hr>
|
39
index.html
39
index.html
@ -4,8 +4,6 @@ title: andrewconl.in
|
||||
permalink: /
|
||||
backlink: false
|
||||
---
|
||||
|
||||
|
||||
This site is designed to be kept as simple as possible.<br>
|
||||
It is pure HTML/CSS [*], which keeps things small, fast and accessible.<br>
|
||||
* I use a self-hosted instance of <a href="https://umami.is">umami</a> for analytics. It respects do-not-track signals.<br>
|
||||
@ -15,39 +13,4 @@ masto: <a rel="me" href="https://mastodon.scot/@andrwcnln">andrwcnln@mastodon.sc
|
||||
github: <a href="https://github.com/andrwcnln">@andrwcnln</a><br>
|
||||
--<br>
|
||||
<a href="/feed.xml">rss</a><br>
|
||||
<hr>
|
||||
<h2>Posts</h2>
|
||||
<ul style="list-style-type:none;margin:0;padding:0;">
|
||||
{% for post in site.posts %}
|
||||
{% assign category = post.category %}
|
||||
{% if category == 'blog' %}
|
||||
<li>
|
||||
<p><code>{{ post.date | date: "%Y-%m-%d" }}</code> // <a href="{{ post.url }}">{{ post.title }}</a></p>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<hr>
|
||||
<h2>Weeklinks</h2>
|
||||
<ul style="list-style-type:none;margin:0;padding:0;">
|
||||
{% for post in site.posts %}
|
||||
{% assign category = post.category %}
|
||||
{% if category == 'weeklinks' %}
|
||||
<li>
|
||||
<p><code>{{ post.date | date: "%Y-%m-%d" }}</code> // <a href="{{ post.url }}">{{ post.title }}</a></p>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<hr>
|
||||
<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>
|
18
til.html
Normal file
18
til.html
Normal 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>
|
19
weeklinks.html
Normal file
19
weeklinks.html
Normal file
@ -0,0 +1,19 @@
|
||||
---
|
||||
layout: default
|
||||
title: weeklinks
|
||||
permalink: /weeklinks
|
||||
backlink: false
|
||||
---
|
||||
|
||||
<h2>Weeklinks</h2>
|
||||
<ul style="list-style-type:none;margin:0;padding:0;">
|
||||
{% for post in site.posts %}
|
||||
{% assign category = post.category %}
|
||||
{% if category == 'weeklinks' %}
|
||||
<li>
|
||||
<p><code>{{ post.date | date: "%Y-%m-%d" }}</code> // <a href="{{ post.url }}">{{ post.title }}</a></p>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<hr>
|
Loading…
x
Reference in New Issue
Block a user