Skip to content

Commit

Permalink
Set github attribute to curated extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
damianmarti committed Dec 24, 2024
1 parent 8631627 commit 5c5bb76
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/nextjs/pages/extensions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ export const getStaticProps: GetStaticProps<ExtensionsListProps> = async () => {
if (!ext.name) {
ext.name = ext.branch;
}
ext.github = ext.repository;
if (ext.branch) {
ext.github += `/tree/${ext.branch}`;
}
return ext;
});

Expand Down

0 comments on commit 5c5bb76

Please sign in to comment.