diff options
-rw-r--r-- | doc/lua-filters.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/lua-filters.md b/doc/lua-filters.md index 34165a791..abe07723e 100644 --- a/doc/lua-filters.md +++ b/doc/lua-filters.md @@ -108,6 +108,15 @@ return { } ``` +### Setting the date in the metadata + +```lua +function Meta(m) + m.date = os.date("%B %e, %Y") + return m +end +``` + ### Extracting information about links This filter prints a table of all the URLs linked to |