6 day learn flask

2016.3.7
<p>A value from a dictionary:{{ mydict['key']}}.</p>
<p>A value from a list:{{ mylist[3]}}.</p>
<p>A value from an object is mentod:{{ myobj.somemethod()}}.</p>
<p>A value from a list,with a varibale index:{{mylist[myintvar]}},</p>

Hello,{{name |capitalize}}

{% if user %}
Hello,{{ user }}!
{% else %}
Hello,Stranger!
{% endif %}