Building a website using erlang YAWS webserver. To generate dynamic content we have to embed erlang code within tags in ".yaws" page, which I feel is not best choice. I am aware of Nitrogen project, but I am not fond of proprietary solution. 

Could anyone recommend better UI solution and example with YAWS as webserver?