summaryrefslogtreecommitdiff
path: root/webserver.js
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2026-09-02 22:48:06 +0200
committerTom Smeding <tom@tomsmeding.com>2026-09-02 22:48:06 +0200
commitce09af5762a5a1d39a0f7d74d3090eae8bfaed34 (patch)
tree1ce7eaf0757512bf4528b4df1e3635271bedf439 /webserver.js
parent2e85981f7a8daf719c414e615bd770ad68a179c9 (diff)
publications: Add PhD thesisHEADmaster
Diffstat (limited to 'webserver.js')
-rwxr-xr-xwebserver.js25
1 files changed, 25 insertions, 0 deletions
diff --git a/webserver.js b/webserver.js
index b0d5578..d655d8d 100755
--- a/webserver.js
+++ b/webserver.js
@@ -103,6 +103,31 @@ function padLeft(s, len, fill) {
return prefix + s;
}
+/* format:
+ * - authors: {str => str} (mapping from keys to full names)
+ * - pubs:
+ * - year: int
+ * - month: int (optional)
+ * - authors: [str]
+ * - title: str
+ * - one of: (actually accepts zero or more)
+ * * conference: str (type tag is str up to first space, if any)
+ * * journal: str
+ * * preprint: (true/str)
+ * * thesis: (true)
+ * - note: str (optional)
+ * - links: [Link] where Link is:
+ * * one of:
+ * - type: "arxiv" with:
+ * - id: str
+ * - type: "doi" with:
+ * - id: str
+ * - type: "code" with:
+ * - url: str
+ * - type: "pdf" with:
+ * - url: str
+ * * note: str (optional)
+ */
function buildPublicationsHTML(info) {
let res = "";
for (const obj of info.pubs) {