I have a specific block of code which is a newsletter subscription form with a script. I have to use this code on multiple templates.
Currently I am using it on these two templates
<!-- Partial A --> <form id="subscribe" ...> <input ...> </form> <script> ... </script>
Of course I could just copy & paste this code to all needed templates. But the maintenance effort would be extremly high if I would have to edit the code, because I would need to edit it in all templates.
Is there a way to save that code block and use it in multiple templates?