link to type applications correctly in template output (#152)