aboutsummaryrefslogtreecommitdiff
path: root/src/pages/projects.astro
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2024-01-31 22:02:43 -0500
committerAndrew Lee <alee14498@protonmail.com>2024-01-31 22:02:43 -0500
commitb21c39aaf41f0fd2376bdf5f832d32a8ebbaa95a (patch)
tree99e7b6853deebfdf1de41905ddd2ecd931527833 /src/pages/projects.astro
parent126e0c277881b16675d43b663ce8d95b51e93ea4 (diff)
downloadpersonal-website-b21c39aaf41f0fd2376bdf5f832d32a8ebbaa95a.tar.gz
personal-website-b21c39aaf41f0fd2376bdf5f832d32a8ebbaa95a.tar.bz2
personal-website-b21c39aaf41f0fd2376bdf5f832d32a8ebbaa95a.zip
OSFT Archive Page; Blog improvements
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>
)