[2024-02-16] Giving posts, weeklinks and til their own homepages
This commit is contained in:
parent
79d4b62e4b
commit
2d69dae08f
4 changed files with 57 additions and 38 deletions
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>
|
Loading…
Add table
Add a link
Reference in a new issue