template, cut HTML string, mixins