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 }
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`)
17 .appendChild(document.createElement(
"li"))
18 .appendChild(document.createElement(
"a"))
19 a.href = meta.streams.find($ =
> $[
"@type"] ==
"Thread")[
"@id"]
20 a.textContent =
"Updates" }
22 .appendChild(document.createElement(
"li"))
23 .appendChild(document.createElement(
"a"))
24 a.href = meta.streams.find($ =
> $[
"@type"] ==
"Forum")[
"@id"]
25 a.textContent =
"Topics" } })