Skip to content

Commit

Permalink
Site link small fixes and template tags removed
Browse files Browse the repository at this point in the history
  • Loading branch information
lukmarcus committed Apr 9, 2024
1 parent d69f5a0 commit 2d9e1a1
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/components/ProjectInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,17 @@
transform="grow-6 down-2"
/>
<strong>Site Link: </strong>
<template v-if="project.url || project.archivedUrl">
<a :href="project.archivedUrl || project.url">{{
project.urlName || project.archivedUrl || project.url
}}</a>
<span v-if="project.archivedUrl"> (archived)</span>
</template>
<template v-else>
<a
v-if="project.url || project.archivedUrl"
:href="project.archivedUrl || project.url"
>{{ project.urlName || project.archivedUrl || project.url }}</a
>
<span v-if="project.archivedUrl"> (archived)</span>
<span
v-if="project.urlName && !project.url && !project.archivedUrl"
>
{{ project.urlName }}
</template>
</span>
</li>
<li class="mb-2 mb-xl-4">
<font-awesome-icon
Expand Down

0 comments on commit 2d9e1a1

Please sign in to comment.