-
Notifications
You must be signed in to change notification settings - Fork 8
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 to iscnPayload #488
Conversation
586dbb7
to
0f353ca
Compare
@@ -287,8 +286,11 @@ export default class FetchIndex extends Vue { | |||
publisher, | |||
type = 'CreativeWork', | |||
} = this.iscnData | |||
let { description = '' } = this.iscnData | |||
let { description = '', keywords = '' } = this.iscnData |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this duplicate with https://github.com/likecoin/app-like-co/pull/486/files?
Should we check if NewsPress
already exists?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pages/nft/url/index.vue
Outdated
description = this.truncate(description, 200) | ||
if (!keywords.includes('NewsPress')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (!keywords.includes('NewsPress')) { | |
if (this.isNewsPress && !keywords.includes('NewsPress')) { |
We still need to check this.isNewsPress
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
f5ac429
to
f4a8803
Compare
No description provided.