Added example of setting date with lua filter.

This commit is contained in:
John MacFarlane 2017-08-14 09:57:01 -07:00
parent 319d7ed6ff
commit 64ff86514b

View file

@ -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