1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
export const publicationsSection = (resume) => resume.publications && resume.publications.length ? `
<section>
<h2>Publications</h2>
<ul>
${resume.publications.map(pub => `
<li>
<div class="title-period">
<h3>${pub.name || ''}</h3>
<span class="date">${pub.releaseDate || ''}</span>
</div>
<p><strong>Publisher:</strong> ${pub.publisher || ''}</p>
<ahref="${pub.url || '#'}" target="_blank">View Publication</a>
<p>${pub.summary || ''}</p>
</li>
`).join('')}
</ul>
</section>
` : '';
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
June 12, 2024