midr @ 64496464b3812839c1e4b440bdf69cc84f39c491

 1{{ define "_footer" }}
 2    </main>
 3<script>
 4  function deleteEntry(id) {
 5    fetch("/entries/"+id, { method: 'DELETE' })
 6        .then((res)=>{
 7            window.location.href = '/'
 8        });
 9    }
10</script>
11  </body>
12</html>
13{{ end }}