Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated pullHistoricalGitHubActivities script to fetch discussions #469

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions app/contributors/[slug]/page.tsx
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sachan13harshit Was this file modified accidentally? This seems to be unrelated to the issue.

Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,15 @@ export async function generateMetadata(
const slug = params.slug;
const contributor = await getContributorBySlug(slug, true);
const url = env.NEXT_PUBLIC_META_URL;

const org = env.NEXT_PUBLIC_META_TITLE;
const title = `${slug} | ${org}`;
const description = `${contributor.name} has opened ${contributor.highlights.pr_opened} pull requests so far since ${contributor.joining_date} at ${org}`;
return {
title: slug,
description: contributor.content,
title,
description,
openGraph: {
title: slug,
description: contributor.content,
title,
description,
url: `${url}/contributors/${slug}`,
},
};
Expand Down
Loading