detect mako with html extension