use Dancer to use template