Added example of setting date with lua filter.
This commit is contained in:
parent
319d7ed6ff
commit
64ff86514b
1 changed files with 9 additions and 0 deletions
|
@ -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
|
### Extracting information about links
|
||||||
|
|
||||||
This filter prints a table of all the URLs linked to
|
This filter prints a table of all the URLs linked to
|
||||||
|
|
Loading…
Reference in a new issue