]> Lady’s Gitweb - x_status_git/blob - about.html
Fix ⁊ improve creator display
[x_status_git] / about.html
1 <!dOcTyPe html>
2 <HTML Lang=en>
3 <TITLE>About</TITLE>
4 <STYLE>
5 body{ Display: Grid; Box-Sizing: Border-Box; Margin: Auto; Padding-Inline: 1REM; Min-Block-Size: 100VH; Inline-Size: 100%; Max-Inline-Size: 45REM; Align-Content: Center; Justify-Content: Stretch; Font-Family: Sans-Serif }
6 </STYLE>
7 <H1>About</H1>
8 <NAV><UL></UL></NAV>
9 <SCRIPT Type=module>
10 document.title = location.hostname
11 document.body.querySelector("h1").textContent = location.hostname
12 const ul = document.body.querySelector("nav>ul")
13 fetch(`${location}.jsonld`)
14 .then($ => $.json())
15 .then(meta => {
16 { const a = ul
17 .appendChild(document.createElement("li"))
18 .appendChild(document.createElement("a"))
19 a.href = meta.streams.find($ => $["@type"] == "Thread")["@id"]
20 a.textContent = "Updates" }
21 { const a = ul
22 .appendChild(document.createElement("li"))
23 .appendChild(document.createElement("a"))
24 a.href = meta.streams.find($ => $["@type"] == "Forum")["@id"]
25 a.textContent = "Topics" } })
26 </SCRIPT>
This page took 0.046373 seconds and 5 git commands to generate.