]> Lady’s Gitweb - Status/blob - topics.html
Configure for <https://status.ladys.computer>
[Status] / topics.html
1 <!dOcTyPe html>
2 <HTML Lang=en>
3 <TITLE>Topics</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>Topics</H1>
8 <NAV><P><A HRef=/>Home</A></P><UL></UL></NAV>
9 <SCRIPT Type=module>
10 const ul = document.body.querySelector("nav>ul")
11 fetch(`${location}.jsonld`)
12 .then($ => $.json())
13 .then(meta => {
14 for (const topic of meta.items) {
15 const a = ul
16 .appendChild(document.createElement("li"))
17 .appendChild(document.createElement("a"))
18 a.href = typeof topic == "string" ? topic : topic["@id"]
19 a.textContent = topic.subject || topic["@id"].split("/").pop() } })
20 </SCRIPT>
This page took 0.091286 seconds and 5 git commands to generate.