diff options
| author | Tom Smeding <tom@tomsmeding.com> | 2026-09-02 22:48:06 +0200 |
|---|---|---|
| committer | Tom Smeding <tom@tomsmeding.com> | 2026-09-02 22:48:06 +0200 |
| commit | ce09af5762a5a1d39a0f7d74d3090eae8bfaed34 (patch) | |
| tree | 1ce7eaf0757512bf4528b4df1e3635271bedf439 /webserver.js | |
| parent | 2e85981f7a8daf719c414e615bd770ad68a179c9 (diff) | |
Diffstat (limited to 'webserver.js')
| -rwxr-xr-x | webserver.js | 25 |
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) { |
