-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
6840 : meta tags update #6998
6840 : meta tags update #6998
Conversation
# licensed under the Affero General Public License version 3 or later. See | ||
# the COPYRIGHT file. | ||
|
||
class TagPresenter < BasePresenter |
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.
TagPresenter
to me sounds like being for a single Tag
, how about TagStreamPresenter
?
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.
Sure! Would be better indeed.
you must have meant #6840 |
og_profile_username: { property: 'og:profile:username' , content: name }, | ||
og_profile_firstname:{ property: 'og:profile:first_name', content: first_name }, | ||
og_profile_lastname: { property: 'og:profile:last_name' , content: last_name } | ||
} |
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.
You can use the bio as a description here if public_details?
, else not.
Woops, yes, that was supposed to be 6840. Sorry. |
og_image: {property: "og:image", content: images}, | ||
og_description: {property: "og:description", content: description}, | ||
og_article_tag: {property: "og:article:tag", content: tags}, | ||
og_article_author: |
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.
Align the elements of a hash literal if they span more than one line.
…rivacy concerns to be cleared.
# licensed under the Affero General Public License version 3 or later. See | ||
# the COPYRIGHT file. | ||
|
||
class StreamTagPresenter < BasePresenter |
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.
I think I prefer TagStreamPresenter
, StreamTagPresenter
sounds like it's for a special kind of tag, a "stream tag", while it's a special kind of stream, a "tag stream".
Thank you very much! |
* fixed old reshares of reshares * fixed deleted root of a reshare
Fixes #6840
Hope I'm following your styleguides correctly and that my tests are good enough!