diff --git a/content/publications.html b/content/publications.html index c8ad2d20..23ff4219 100644 --- a/content/publications.html +++ b/content/publications.html @@ -20,15 +20,18 @@ draft: false window.onload = async function () { var div = document.getElementById("publis_div") const Cite = require("citation-js") - const dois = uniq(Object.values(await loadAllData()).flat().map(d => d.DOI.string)) - const publiscite = await Cite.async(dois) + const sdois = uniq(Object.values(await loadAllData()).flat().map(d => d.DOI.string)) + const spubliscite = await Cite.async(sdois) const pubs = await getPublis() - const publis = publiscite.format('data', { format: 'object' }) - for (const publi of publis) { + const spublis = spubliscite.format('data', { format: 'object' }) + for (const publi of spublis) { art=createPubliUI(publi,pubs.sets,true) $(art).appendTo("
").appendTo("#publis_ul") } - for (const publi of pubs.others.keys()) { + const odois=Array.from(pubs.others.keys()) + const opubliscite = await Cite.async(odois) + const opublis = opubliscite.format('data', { format: 'object' }) + for (const publi of opublis) { art=createPubliUI(publi,pubs.others,true) $(art).appendTo("").appendTo("#publis_ul") } diff --git a/static/data/publis.yaml b/static/data/publis.yaml index ff3e6871..2d4b18b5 100644 --- a/static/data/publis.yaml +++ b/static/data/publis.yaml @@ -5,4 +5,4 @@ sets: 10.1021/acs.jpclett.8b02058 : set 3 10.1021/acs.jctc.8b01103 : set 4 others: - \ No newline at end of file + 10.1021/acs.jpclett.0c00014 : \ No newline at end of file