After resolving using custom view I still couldn't merge, the line
Читать далее...
<xf:macro template="metadata_macros" name="metadata"
disappeared totallyЧитать далее...