pages/_posts/2020-09-28-twitter.md
Maruan beb6f27d59
format code with prettier.io (#2048)
summary:
- adds prettier formatter configuration
- formats the entire repo using prettier, ignoring minified files
(`*.min.css`) and heavy generated html
- changes extensions of all `.html` files to `.liquid`, which is more
correct and necessary for prettier to work correctly
- replaces "%-" and "-%" with just "%" — manual liquid formatting using
minus signs is superfluous since we are compressing and minifying the
code anyway
- adds CI action for running prettier check on PR and pushes to master
2024-01-10 00:10:51 -05:00

641 B

layout title date description tags categories
post a post with twitter 2020-09-28 11:12:00-0400 an example of a blog post with twitter formatting sample-posts external-services

A sample blog page that demonstrates the inclusion of Tweets/Timelines/etc.

Tweet

An example of displaying a tweet: {% twitter https://twitter.com/rubygems/status/518821243320287232 %}

Timeline

An example of pulling from a timeline: {% twitter https://twitter.com/jekyllrb maxwidth=500 limit=3 %}

Additional Details

For more details on using the plugin visit: jekyll-twitter-plugin