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

docs: remove mention of Twitter card validator; provide alternatives #2218

Merged
merged 1 commit into from
Oct 27, 2022
Merged
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
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# pkgdown (development version)

* Remove mention of (defunct) Twitter card validator, provide alternatives (@Bisaloo, #2185)
* Fix `keywords` typo in `check_missing_topics()` message (@swsoyee, #2178).
* Use jsdeliver CDN for bootstrap-toc (@GregorDeCillia, #2207).

Expand Down
6 changes: 3 additions & 3 deletions vignettes/metadata.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ Package authors can customize the metadata used by Twitter and the [Open Graph p

You can preview and validate the appearance of the social media cards with online tools:

* [Twitter Card Validator][twitter-validator]
* [Google Rich Results Test][ogp-validator]
* [Google Rich Results Test][ogp-validator];
* Drafting a tweet to yourself;
* Sending yourself a Slack message.

## Necessary configuration

Expand Down Expand Up @@ -123,6 +124,5 @@ Use the `title`, `description`, and `author` fields to specify the title, descri
In articles, the `opengraph` section works in the same way as the site-wide `template: opengraph` settings, but is only applied to the article or vignette. This allows you to specify social media card preview images for individual articles, or to associate an article with a particular Twitter account. If not specified, the `opengraph` settings from the site-wide configuration are used.

[ogp]: https://ogp.me/
[twitter-validator]: https://cards-dev.twitter.com/validator
[ogp-validator]: https://search.google.com/test/rich-results
[twitter-card]: https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/abouts-cards