diff --git a/README.md b/README.md index c6c7562..da77815 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,18 @@ This small tool can read any static file and make it dynamic.specially made to m ![alt tag](http://s1.postimg.org/ke2moiwq7/statico.png) +##What's New? + -- Now "Statico" can automatically link external CSS and Javascript files to the HTML page + + ```javascript + statico.setup(req, res); // This method gives the access of HTTP Request and Response to Statico Module + ``` + +#####Note +``` +You must validate req.url correctly. (i have explained a '/' route) if you don't, it will break the code +``` + ##Usage ##### require statico module @@ -45,11 +57,21 @@ statico.use('filename.html', { "title" : "My title", "text" : "this is the text"
Dynamic text : ${text}
+