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

👔 Add newsPress tag #486

Merged
merged 3 commits into from
Sep 28, 2024
Merged

Conversation

AuroraHuang22
Copy link
Collaborator

No description provided.

Comment on lines 646 to 650
const { title, description, author, body, images = [] } = data;
let {keywords} = data;
if(isNewsPress) {
keywords = keywords ? `${keywords},NewsPress` : 'NewsPress';
}
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
const { title, description, author, body, images = [] } = data;
let {keywords} = data;
if(isNewsPress) {
keywords = keywords ? `${keywords},NewsPress` : 'NewsPress';
}
const { title, description, author, body, images = [] } = data;
let { keywords } = data;
if (isNewsPress) {
keywords = keywords ? `${keywords},NewsPress` : 'NewsPress';
}

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

AuroraHuang22 added a commit that referenced this pull request Sep 28, 2024
@AuroraHuang22 AuroraHuang22 merged commit d553880 into likecoin:main Sep 28, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants