diff --git a/.gitignore b/.gitignore index e31aadd..7b7ee52 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 454c78a..2ece461 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 ca85ac3..2c97313 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 0000000..be9ea9d --- /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