fix #4: template variable not passed to function
initial commit
set navi to active on a root page