Simple and lightweight HTML templates parser