Skip to content

Commit 2fdbdcd

Browse files
committed
[community] gephi week report url
1 parent d2e4f5b commit 2fdbdcd

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

‎src/pages/community/index.astro‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,18 @@ const GEPHI_WEEKS = [
137137
{
138138
GEPHI_WEEKS.map((gw) => (
139139
<li>
140-
<strong>{gw.year}</strong> <i>in</i> {gw.place} <i>sponsored by</i>{" "}
140+
{gw.url ? (
141+
<a href={gw.url}>
142+
<strong>{gw.year}</strong>
143+
</a>
144+
) : (
145+
<strong>{gw.year}</strong>
146+
)}
147+
<i> in</i> {gw.place} <i>sponsored by</i>{" "}
141148
{gw.sponsors.map((s, i) => [
142149
<a href={s.url}>{s.label}</a>,
143150
i === gw.sponsors.length - 2 ? " and " : i < gw.sponsors.length - 2 ? ", " : "",
144-
])}
151+
])}{" "}
145152
</li>
146153
))
147154
}

0 commit comments

Comments
 (0)