diff options
author | Starfall <us@starfall.systems> | 2021-10-23 13:30:40 -0500 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2023-12-05 10:00:35 -0600 |
commit | 6fdbf1b748a013b49c228658bb05893e1f01e359 (patch) | |
tree | 1e6fb4d0873705f72610e8a18e7c2cb8bed6c798 /README | |
parent | 2eb81abb648d497b8b9e497ec00d58a893f3727e (diff) |
strike: implement meta[title] and meta[data] from file information
Diffstat (limited to 'README')
-rw-r--r-- | README | 4 |
1 files changed, 2 insertions, 2 deletions
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 ------------ |