diff options
author | dvs1 | 2024-12-16 14:05:49 +1000 |
---|---|---|
committer | dvs1 | 2024-12-16 14:05:49 +1000 |
commit | 6b894acf42f0e2daec277a05766d02014dc7bb09 (patch) | |
tree | 270c1cac17c4c728866b556da5a75d7dd86cb930 /notYetAnotherWiki.lua | |
parent | Try this for individual page history. (diff) | |
download | notYetAnotherWiki-6b894acf42f0e2daec277a05766d02014dc7bb09.zip notYetAnotherWiki-6b894acf42f0e2daec277a05766d02014dc7bb09.tar.gz notYetAnotherWiki-6b894acf42f0e2daec277a05766d02014dc7bb09.tar.bz2 notYetAnotherWiki-6b894acf42f0e2daec277a05766d02014dc7bb09.tar.xz |
Move TODOs to TODO.md, and tweak them.
Diffstat (limited to 'notYetAnotherWiki.lua')
-rwxr-xr-x | notYetAnotherWiki.lua | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua index 1f077b5..9fa3178 100755 --- a/notYetAnotherWiki.lua +++ b/notYetAnotherWiki.lua | |||
@@ -1,20 +1,5 @@ | |||
1 | #!/usr/bin/env luajit | 1 | #!/usr/bin/env luajit |
2 | 2 | ||
3 | --[[ TODOs | ||
4 | Contstruct metadata.webtrail in createHTML from links to index.HTML in the various bits of the path of the input file. | ||
5 | |||
6 | Construct a default set of menus if menu.md / header.md doesn't exist in each directory. | ||
7 | Same for footer.md I guess. | ||
8 | |||
9 | For such fragments, rename their results to footer.FRAGMENT. metadata.isFragment | ||
10 | |||
11 | BUG - sub directories get their links screwed with extra path. | ||
12 | |||
13 | Check the timestamps on the files, only update if source is newer than destination. Meh, it's already 600 times faster than the pandoc version. | ||
14 | |||
15 | Add atom feed and history for single page. Alas cgit only seems to have ATOM feed and commit log on the whole repo, not individual files. | ||
16 | ]] | ||
17 | |||
18 | local lcmark = require("lcmark") | 3 | local lcmark = require("lcmark") |
19 | 4 | ||
20 | local createHTML = function(cm, file, menu) | 5 | local createHTML = function(cm, file, menu) |