new: [mastodon archive] Mastodon post archive directory

This commit is contained in:
Alexandre Dulaunoy 2024-09-01 17:01:58 +02:00
parent 376124b79b
commit 0210fee6ad
Signed by: adulau
GPG key ID: 09E2CD4944E6CBCD
2 changed files with 12 additions and 1 deletions

View file

@ -16,7 +16,7 @@ codepenUsername:
# Build settings
permalink: /:year/:month/:title
markdown: kramdown
include: [_pages]
include: [_pages, _mastodon]
exclude: [_site, CHANGELOG.md, LICENSE, README.md]
sass:
style: compressed

11
_mastodon/index.md Normal file
View file

@ -0,0 +1,11 @@
---
title: paperbay.org Mastodon - Archive of my posts
layout: page
---
{% assign pages = site.pages | where_exp: 'page', 'page.post_id' %}
{% for page in pages %}
{% if page.title %}
- {{page.date}} - [{{page.post_id}}]({{page.url}}) {{page.tags | sort_natural | join: " "}}
{% endif %}
{% endfor %}