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
|
||||
.ruby-version
|
||||
Gemfile.lock
|
||||
|
||||
.tweet-cache/
|
||||
|
1
Gemfile
1
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
|
||||
|
@ -114,6 +114,7 @@ plugins:
|
||||
- jekyll-paginate-v2
|
||||
- jekyll/scholar
|
||||
- jemoji
|
||||
- 'jekyll-twitter-plugin'
|
||||
# - bootstrap
|
||||
# - 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