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