get rid of dependency github.com/metakeule/meta
by copying the needed functions and enable templ on go 1.0