From 6fdbf1b748a013b49c228658bb05893e1f01e359 Mon Sep 17 00:00:00 2001 From: Starfall Date: Sat, 23 Oct 2021 13:30:40 -0500 Subject: strike: implement meta[title] and meta[data] from file information --- README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README') diff --git a/README b/README index 93fac3e..80ad5c4 100644 --- a/README +++ b/README @@ -41,8 +41,8 @@ TBD. Right now, templates are just HTML in a Python f-string. You have access to the following variables: {content} : Complete file contents. -{meta['title']} : Filename, with extension dropped. -{meta['date']} : File modification date. +{meta[title]} : Filename, with extension dropped. +{meta[date]} : File modification date, in HTTP header format (e.g. "Sat, 23 Oct 2021 18:28:37 GMT") Front matter ------------ -- cgit