style: format
This commit is contained in:
parent
6fd3a94fac
commit
c3473f135a
2 changed files with 5 additions and 5 deletions
|
@ -50,14 +50,14 @@ const VersionChooser = ({
|
|||
className='ml-2 h-10 px-2.5 bg-slate-300 rounded-md'
|
||||
onClick={() => {
|
||||
const bibtex = `@article{
|
||||
author={${
|
||||
authors.map((a: string, i) => {
|
||||
author={${authors
|
||||
.map((a: string, i) => {
|
||||
const author = authorList[a].name.first + ' ' + authorList[a].name.last
|
||||
if (i === 0) return author
|
||||
else if (i === authors.length - 1) return ` and ${author}`
|
||||
else return `, ${author}`
|
||||
}).join('')
|
||||
}},
|
||||
})
|
||||
.join('')}},
|
||||
title={${doc.manifest.title}},
|
||||
journal={eeXiv journal},
|
||||
year={${date.getFullYear()}},
|
||||
|
|
Loading…
Reference in a new issue