midr @ f1fd665089dd6b0a1fa4fc72a64db3cbf0b6d5f5

 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 }}