No need to have a postload for clipboard.js in templates. Use the class "clipboard-btn" and match the data-clipboard-target with the right ID (or other DOM-element).