From 96d437baab4a622eb540719feb90ea810fb01756 Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Sat, 19 Apr 2025 21:43:53 +0100 Subject: Add support for atom / rss feed Date format was changed to support `updated` in ISO format. Now every post will require date and time, which might be a usability regression, but we'll see. Also, `updated` field was introduced in metadata. If there is no such field, them date field will be used instead. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 7ac9d4a..94afe61 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ $ pip3 install -r requirements.txt ``` $ mkdir posts/hello-world $ echo 'Title: Hello, World!' > posts/hello-world/metadata.txt -$ echo 'Date: 2022-12-23' >> posts/hello-world/metadata.txt +$ echo "Date: `date +"%Y-%m-%dT%H:%M:%S%z"`" >> posts/hello-world/metadata.txt $ echo 'Hello, world!' > posts/hello-world/hello-world.md $ make deploy ``` -- cgit v1.2.3-70-g09d2