handlers.lua

changeset 34
4c7122a505d4
parent 26
77cd7b8fb6a6
child 37
d63f9862304a
--- a/handlers.lua	Sun Jul 19 11:17:28 2020 -0500
+++ b/handlers.lua	Sun Sep 06 21:24:39 2020 +0300
@@ -8,10 +8,11 @@
 handlers.ignore=require("handlers.ignore")
 
 local available={
+    { pattern = "%.note$", handler = handlers.ignore},
+    { pattern = "^%.", handler = handlers.ignore},
+    { pattern = "/%.", handler = handlers.ignore},
     { pattern = "%.lg$", handler = handlers.render},
     { pattern = "%.md$", handler = handlers.render},
-    { pattern = "%.note$", handler = handlers.ignore},
-    { pattern = "%.hg/", handler = handlers.ignore},
     { pattern = "",      handler = handlers.copy},
 }
 

mercurial