diff --git a/paramecio/modules/welcome/index.py b/paramecio/modules/welcome/index.py index 1231382..f5379cb 100644 --- a/paramecio/modules/welcome/index.py +++ b/paramecio/modules/welcome/index.py @@ -15,17 +15,17 @@ def home(): return t.load_template('welcome.html', title="Welcome to Paramecio!!!", content="The simple web framework writed in Python3!!!") -""" @route('/welcome/') def page(id): + t=PTemplate(env) + return t.load_template('index.html', title="A simple example of a page", id=id, value=request.query.value) @route('/welcome/test/') def test(id): return make_url('welcome/test/5', {'ohmygod': 'This is gooood', 'shutup':'Shut up!!'}) -""" if config.default_module=="welcome":