the home site for me: also iteration 3 or 4 of my site
at main 980 B view raw
1{% extends "base.html" %} {% block content %} 2 3<div 4 id="suggestions" 5 style=" 6 display: flex; 7 flex-direction: column; 8 justify-content: center; 9 align-items: center; /* Center vertically */ 10 height: 100%; /* Adjust height as needed */ 11 " 12> 13 <p><strong>I think you stumbled on something non existent :)</strong></p> 14</div> 15 16{% set jsHash = get_hash(path="js/404-matcher.js", sha_type=256, base64=true) %} 17<script 18 src="{{ get_url(path='js/404-matcher.js?' ~ jsHash, trailing_slash=false) | safe }}" 19 defer 20></script> 21 22<!-- <script> 23 const link = document.getElementById("redirect"); 24 25 // count down to redirect 26 let count = 5; 27 const interval = setInterval(() => { 28 count--; 29 link.innerText = `Redirecting you back home in ${count}`; 30 if (count === 0) { 31 clearInterval(interval); 32 window.location.href = "/"; 33 } 34 }, 1000); 35</script> --> 36 37{% endblock content %}