use swig as html template