Skip to content

Commit

Permalink
Remove forks from software list page
Browse files Browse the repository at this point in the history
  • Loading branch information
puria committed Sep 15, 2023
1 parent fa7b440 commit 2351dd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/software/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import ProjectCard from '~/components/ProjectCard.astro';
import Layout from '~/layouts/Layout.astro';
const softwares = await Astro.glob('~/pages/software/*.md');
const github_fetch = await fetch('https://api.github.com/orgs/dyne/repos?per_page=100');
const github_fetch = await fetch('https://api.github.com/orgs/dyne/repos?per_page=100&type=sources');
const github = await github_fetch.json();
---

Expand All @@ -26,7 +26,7 @@ const github = await github_fetch.json();
<ProjectCard
url={software.homepage ? software.homepage : software.html_url}
title={software.name}
download={software.html_url}
download={software.homepage ? software.html_url : false}
>
{software.description}
</ProjectCard>
Expand Down

0 comments on commit 2351dd1

Please sign in to comment.