{
        container.classList.toggle('reloadify');
      });
      event.preventDefault();
    }
    document.addEventListener('DOMContentLoaded', () => {
      const templateContainer = document.querySelector('.template-container');
      if (templateContainer) {
        document.querySelectorAll('.template-target').forEach(target => {
          const clonedContainer = templateContainer.cloneNode(true);
          target.appendChild(clonedContainer);
        });
      }
    });
  </script>
</head>

<body>
 