Permalink
Browse files

Notrogen Web Module

  • Loading branch information...
JonGretar committed May 24, 2009
1 parent a9acf5b commit b7c6f48c72a11ebd6fcd01450a00bab6d9abe0f3
@@ -0,0 +1,4 @@
+{
+ MainTemplateFile = "file.erl";
+ Description = "A page module for a Nitrogen web app.";
+}
@@ -0,0 +1,18 @@
+%%%-------------------------------------------------------------------
+%%% File : «FILENAME»
+%%% Author : «FULLUSERNAME»
+%%% Organization : «ORGANIZATIONNAME»
+%%% Project : «PROJECTNAME»
+%%% Description :
+%%%
+%%% Created : «DATE»
+%%%-------------------------------------------------------------------
+-moduleFILEBASENAME»).
+-include_lib ("nitrogen/include/wf.inc").
+-authorUSERNAME»).
+-compile(export_all).
+
+main() ->
+ #template { file="./wwwroot/template.html" }.
+
+event(_) -> ok.

0 comments on commit b7c6f48

Please sign in to comment.