aboutsummaryrefslogtreecommitdiff
path: root/src/pages/projects.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/projects.astro')
-rw-r--r--src/pages/projects.astro3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pages/projects.astro b/src/pages/projects.astro
index 1613172..d908b57 100644
--- a/src/pages/projects.astro
+++ b/src/pages/projects.astro
@@ -12,8 +12,7 @@ import projects from "../data/projects.json";
<p>{project.description}</p>
{project.links.map((link) => {
return (
- <a href={link.url} target="_blank">{link.name}</a>
- )
+ <a href={link.url} target={link.external ? "_blank" : ""}>{link.name}</a> )
})}
</div>
)