Added Twitter Card Support (#120)
* Feature Request : https://github.com/alshedivat/al-folio/issues/85 * Created sample blog post for tweet card examples. * Added twitter plugin dependency : https://github.com/rob-murray/jekyll-twitter-plugin * Added .tweet-cache/ to .gitignore.
This commit is contained in:
parent
dacac74d31
commit
f92f466117
2
.gitignore
vendored
2
.gitignore
vendored
@ -4,4 +4,4 @@ _site
|
|||||||
.DS_store
|
.DS_store
|
||||||
.ruby-version
|
.ruby-version
|
||||||
Gemfile.lock
|
Gemfile.lock
|
||||||
|
.tweet-cache/
|
||||||
|
1
Gemfile
1
Gemfile
@ -5,6 +5,7 @@ group :jekyll_plugins do
|
|||||||
gem 'jekyll-email-protect'
|
gem 'jekyll-email-protect'
|
||||||
gem 'jekyll-paginate-v2'
|
gem 'jekyll-paginate-v2'
|
||||||
gem 'jekyll-scholar'
|
gem 'jekyll-scholar'
|
||||||
|
gem 'jekyll-twitter-plugin'
|
||||||
gem 'jemoji'
|
gem 'jemoji'
|
||||||
gem 'unicode_utils'
|
gem 'unicode_utils'
|
||||||
end
|
end
|
||||||
|
@ -114,6 +114,7 @@ plugins:
|
|||||||
- jekyll-paginate-v2
|
- jekyll-paginate-v2
|
||||||
- jekyll/scholar
|
- jekyll/scholar
|
||||||
- jemoji
|
- jemoji
|
||||||
|
- 'jekyll-twitter-plugin'
|
||||||
# - bootstrap
|
# - bootstrap
|
||||||
# - material-sass
|
# - material-sass
|
||||||
|
|
||||||
|
26
_posts/2020-09-28-twitter.md
Normal file
26
_posts/2020-09-28-twitter.md
Normal file
@ -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.
|
||||||
|
|
||||||
|
<br />
|
||||||
|
|
||||||
|
# Tweet
|
||||||
|
An example of displaying a tweet :
|
||||||
|
{% twitter https://twitter.com/rubygems/status/518821243320287232 %}
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
# Timeline
|
||||||
|
An example of pulling from a timeline :
|
||||||
|
{% twitter https://twitter.com/jekyllrb maxwidth=500 limit=3 %}
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
# Additional Details
|
||||||
|
For more details on using the plugin visit : https://github.com/red-data-tools/jekyll-jupyter-notebook
|
Loading…
Reference in New Issue
Block a user