diff --git a/.gitignore b/.gitignore index e31aadd0231a..7b7ee52c1117 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,4 @@ _site .DS_store .ruby-version Gemfile.lock - +.tweet-cache/ diff --git a/Gemfile b/Gemfile index 454c78af6540..2ece4616b8f1 100644 --- a/Gemfile +++ b/Gemfile @@ -5,6 +5,7 @@ group :jekyll_plugins do gem 'jekyll-email-protect' gem 'jekyll-paginate-v2' gem 'jekyll-scholar' + gem 'jekyll-twitter-plugin' gem 'jemoji' gem 'unicode_utils' end diff --git a/_config.yml b/_config.yml index ca85ac3ece37..2c97313fd91c 100644 --- a/_config.yml +++ b/_config.yml @@ -114,6 +114,7 @@ plugins: - jekyll-paginate-v2 - jekyll/scholar - jemoji + - 'jekyll-twitter-plugin' # - bootstrap # - material-sass diff --git a/_posts/2020-09-28-twitter.md b/_posts/2020-09-28-twitter.md new file mode 100644 index 000000000000..be9ea9df172d --- /dev/null +++ b/_posts/2020-09-28-twitter.md @@ -0,0 +1,26 @@ +--- +layout: post +title: a post with twitter +date: 2020-09-28 11:12:00-0400 +description: an example of a blog post with twitter +--- +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 : https://github.com/red-data-tools/jekyll-jupyter-notebook \ No newline at end of file