Add ongoing text
This commit is contained in:
@@ -148,10 +148,12 @@ const link = `/projects/${slugify(project.data.type)}/${slugify(project.data.slu
|
||||
<TextLink href={link}>{project.data.title}</TextLink>
|
||||
)
|
||||
}{!projectHasBody && project.data.title}{
|
||||
!project.data.ongoing && (
|
||||
(
|
||||
<span class="text-sm font-medium italic">
|
||||
{" "}
|
||||
({project.data.date.getFullYear()})
|
||||
{project.data.ongoing
|
||||
? "(ongoing)"
|
||||
: "(" + project.data.date.getFullYear() + ")"}
|
||||
</span>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user