fix: add missing closing tag for DOI link and move citation display after DOI display
This commit is contained in:
parent
28b41b71bb
commit
037b4023dd
1 changed files with 8 additions and 6 deletions
|
@ -90,16 +90,18 @@ const DocumentViewer = ({ slug }: Readonly<{ slug: string }>) => {
|
|||
<p className='my-2'>
|
||||
<Reviewers reviewers={reviewers} />
|
||||
</p>
|
||||
{doi && (
|
||||
<p className='my-2'>
|
||||
<span className='font-bold'>DOI: </span>
|
||||
<a href={`https://doi.org/${doi}`} target='_blank'>
|
||||
{doi}
|
||||
</a>
|
||||
</p>
|
||||
)}
|
||||
<p className='my-2'>
|
||||
<span className='font-bold'>Cite as: </span>
|
||||
{citation ? <>{citation}</> : <>eeXiv:{hash}</>}
|
||||
</p>
|
||||
{doi && (
|
||||
<p className='my-2'>
|
||||
<span className='font-bold'>DOI: </span>
|
||||
{doi}
|
||||
</p>
|
||||
)}
|
||||
<Suspense
|
||||
fallback={
|
||||
<div className='max-w-sm animate-pulse flex flex-wrap gap-2'>
|
||||
|
|
Loading…
Reference in a new issue