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

Bring twitter metadata customization in template ? #19

Open
cderv opened this issue Mar 5, 2021 · 2 comments
Open

Bring twitter metadata customization in template ? #19

cderv opened this issue Mar 5, 2021 · 2 comments

Comments

@cderv
Copy link
Collaborator

cderv commented Mar 5, 2021

From pkgdown: https://pkgdown.r-lib.org/articles/metadata.html

Do we want to offer customization ? It requires to add:
https://github.com/r-lib/pkgdown/blob/f58b8d2fde98df1389119d34c94656eeae000ac2/inst/templates/BS3/head.html#L70-L83

Otherwise default we have is:

<meta name="twitter:card" content="summary" />

but do we want more shared information across templated packages website ?

Just asking as I saw the difference in template.

@apreshill
Copy link
Contributor

What would be customized? The twitter cards look OK to me but I may not be following what is possible.

@cderv
Copy link
Collaborator Author

cderv commented Mar 8, 2021

I was thinking of setting the twitter:site (@username for the website used in the card footer) property maybe to @rstudio account ?
https://developer.twitter.com/en/docs/twitter-for-websites/cards/guides/getting-started#attribution

I may not really be important though.

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

No branches or pull requests

2 participants