From: Jean Privat Date: Fri, 30 May 2014 20:05:05 +0000 (-0400) Subject: nitlight: add a title on the html document X-Git-Tag: v0.6.6~53^2~9 X-Git-Url: http://nitlanguage.org nitlight: add a title on the html document Signed-off-by: Jean Privat --- diff --git a/src/nitlight.nit b/src/nitlight.nit index 85b2c1a..821cc37 100644 --- a/src/nitlight.nit +++ b/src/nitlight.nit @@ -56,10 +56,12 @@ for mm in mmodules do if opt_last_line.value != 0 then v.last_line = opt_last_line.value if opt_ast.value then v.with_ast = true var page = null + var m = modelbuilder.mmodule2nmodule[mm] if not opt_fragment.value then page = new HTMLTag("html") page.add_raw_html """ - """ + + file {{{m.location.file.filename}}}""" if dir == null then page.add_raw_html """