the home site for me: also iteration 3 or 4 of my site
at main 2.5 kB view raw
1<hr /> 2<div id="footer-container"> 3 <p class="badge-row"> 4 <a href="https://512kb.club"><img src="/badges/green-team.gif" 5 alt="a proud member of the green team of 512KB club" /></a> 6 <a href="https://hackclub.com"><img src="/badges/hackclub.png" alt="linux powered" /></a> 7 <a href="https://dunkirk.sh/ai"><img src="/badges/MadeByAHuman_04.svg" alt="made by a human" /></a> 8 <a href="https://tangled.org"><img src="/badges/tangled.png" alt="tangled beta" /></a> 9 <a href="https://www.netscape-communications.com/download/"><img src="/badges/get-netscape.gif" 10 alt="get netscape" /></a> 11 <a href="https://tangled.org/@dunkirk.sh/dots"><img src="/badges/powered-by-nix.gif" alt="powered by nix" /></a> 12 <a href="https://tangled.org/@dunkirk.sh/nixvim"><img src="/badges/made-with-neovim.png" /></a> 13 </p> 14 <p style="margin-bottom: 0.5rem"> 15 &copy; {{ now() | date(format="%Y") }} Kieran Klukas || 16 <code id="visits">0</code> page visits || {% set hash = 17 get_env(name="CF_PAGES_COMMIT_SHA", default=load_data(path=".git/refs/heads/main", required=false))%}{% if hash is 18 not string %}{% set hash = "unknown" %}{% endif %}<a href=https://tangled.sh/@dunkirk.sh/zera/commit/{{ hash 19 }}>zera@{{ hash | 20 truncate(length=7, end="")}}</a> 21 </p> 22 <p style="margin-bottom: 0.5rem"> 23 Webrings: 24 <a href="https://w.elr.sh">elr</a> 25 [<a href='javascript:void(0)' onclick='randomSite()'>random</a> | 26 <a href='#' id='prev-link'>prev</a> | 27 <a href='#' id='next-link'>next</a>] • 28 <a href="https://ctp-webr.ing">ctp</a> 29 [<a href="https://ctp-webr.ing/dunkirk/previous">prev</a> | 30 <a href="https://ctp-webr.ing/dunkirk/next">next</a>] 31 </p> 32 33 <script type="text/javascript" src="https://w.elr.sh/onionring-variables.js"></script> 34 <script> 35 thisSite = "https://dunkirk.sh" 36 thisIndex = null; 37 38 for (i = 0; i < sites.length; i++) { 39 if (thisSite.startsWith(sites[i])) { 40 thisIndex = i; 41 break; 42 } 43 } 44 45 function randomSite() { 46 otherSites = sites.slice(); 47 otherSites.splice(thisIndex, 1); 48 randomIndex = Math.floor(Math.random() * otherSites.length); 49 location.href = otherSites[randomIndex]; 50 } 51 52 53 previousIndex = (thisIndex - 1 < 0) ? sites.length - 1 : thisIndex - 1; 54 nextIndex = (thisIndex + 1 >= sites.length) ? 0 : thisIndex + 1; 55 56 document.getElementById('prev-link').href = sites[previousIndex]; 57 document.getElementById('next-link').href = sites[nextIndex]; 58 </script> 59</div>