6 handlers.render=require("handlers.render") |
6 handlers.render=require("handlers.render") |
7 handlers.copy=require("handlers.copy") |
7 handlers.copy=require("handlers.copy") |
8 handlers.ignore=require("handlers.ignore") |
8 handlers.ignore=require("handlers.ignore") |
9 |
9 |
10 local available={ |
10 local available={ |
|
11 { pattern = "%.note$", handler = handlers.ignore}, |
|
12 { pattern = "^%.", handler = handlers.ignore}, |
|
13 { pattern = "/%.", handler = handlers.ignore}, |
11 { pattern = "%.lg$", handler = handlers.render}, |
14 { pattern = "%.lg$", handler = handlers.render}, |
12 { pattern = "%.md$", handler = handlers.render}, |
15 { pattern = "%.md$", handler = handlers.render}, |
13 { pattern = "%.note$", handler = handlers.ignore}, |
|
14 { pattern = "%.hg/", handler = handlers.ignore}, |
|
15 { pattern = "", handler = handlers.copy}, |
16 { pattern = "", handler = handlers.copy}, |
16 } |
17 } |
17 |
18 |
18 |
19 |
19 function handlers.find(f) |
20 function handlers.find(f) |