libs/web: add support for string templates to the template parser