Use fiame-compiler-api to build a template engine that can produce HTML statically or dynamically. etc...