mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-23 10:37:10 +00:00
Update Twitter Cards documentation
This commit is contained in:
parent
4e86b51f98
commit
e37ef0bf0e
3 changed files with 8 additions and 0 deletions
|
@ -222,6 +222,10 @@ Not sure if this only effects Kramdown or if it's an issue with Markdown in gene
|
||||||
|
|
||||||
Twitter cards make it possible to attach images and post summaries to Tweets that link to your content. Summary Card meta tags have been added to `head.html` to support this, you just need to [validate and apply your domain](https://dev.twitter.com/docs/cards) to turn it on.
|
Twitter cards make it possible to attach images and post summaries to Tweets that link to your content. Summary Card meta tags have been added to `head.html` to support this, you just need to [validate and apply your domain](https://dev.twitter.com/docs/cards) to turn it on.
|
||||||
|
|
||||||
|
Here's an example of what a tweet to your site could look like if you activate Twitter Cards and include all the metas in your post's YAML.
|
||||||
|
|
||||||
|
![Twitter Card summary large image screenshot](http://mmistakes.github.io/so-simple-theme/images/twitter-card-summary-large-image.jpg)
|
||||||
|
|
||||||
#### Link Post Type
|
#### Link Post Type
|
||||||
|
|
||||||
So Simple Theme now supports **link posts**, made famous by John Gruber. To activate just add `link: http://url-you-want-linked` to the post's YAML front matter and you're done.
|
So Simple Theme now supports **link posts**, made famous by John Gruber. To activate just add `link: http://url-you-want-linked` to the post's YAML front matter and you're done.
|
||||||
|
|
BIN
images/twitter-card-summary-large-image.jpg
Normal file
BIN
images/twitter-card-summary-large-image.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 41 KiB |
|
@ -129,6 +129,10 @@ If done correctly `/blog` should be a page listing all the site's posts.
|
||||||
|
|
||||||
Post and page thumbnails work the same way. These are used by [Open Graph](https://developers.facebook.com/docs/opengraph/) and [Twitter Cards](https://dev.twitter.com/docs/cards) meta tags found in `head.html`. If you don't assign a thumbnail the image you assigned to `site.owner.avatar` in `_config.yml will be used.
|
Post and page thumbnails work the same way. These are used by [Open Graph](https://developers.facebook.com/docs/opengraph/) and [Twitter Cards](https://dev.twitter.com/docs/cards) meta tags found in `head.html`. If you don't assign a thumbnail the image you assigned to `site.owner.avatar` in `_config.yml will be used.
|
||||||
|
|
||||||
|
Here's an example of what a tweet to your site could look like if you activate Twitter Cards and include all the metas in your post's YAML.
|
||||||
|
|
||||||
|
![Twitter Card summary large image screenshot]({{ site.url }}/images/twitter-card-summary-large-image.jpg)
|
||||||
|
|
||||||
#### Videos
|
#### Videos
|
||||||
|
|
||||||
Video embeds are responsive and scale with the width of the main content block with the help of [FitVids](http://fitvidsjs.com/).
|
Video embeds are responsive and scale with the width of the main content block with the help of [FitVids](http://fitvidsjs.com/).
|
||||||
|
|
Loading…
Reference in a new issue