Skip to content

Commit 2e4fbd0

Browse files
committed
Add Jekyll Twitter. Embedded 5 tweets from Matz on the team page
A Liquid tag plugin for the Jekyll blogging engine that embeds Tweets, Timelines and more from Twitter API https://github.com/rob-murray/jekyll-twitter-plugin
1 parent 082c7a3 commit 2e4fbd0

File tree

5 files changed

+9
-2
lines changed

5 files changed

+9
-2
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ _site
22
mruby
33
/.bundle/
44
/vendor/
5+
.tweet-cache

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ gem 'github-pages', group: :jekyll_plugins
55
group :jekyll_plugins do
66
gem 'jekyll-feed'
77
gem 'jekyll-sitemap'
8+
gem 'jekyll-twitter-plugin'
89
end
910

1011
group :scripts do

Gemfile.lock

+3-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ GEM
3232
multipart-post (>= 1.2, < 3)
3333
ruby2_keywords
3434
faraday-net_http (1.0.1)
35-
ffi (1.14.2)
35+
ffi (1.15.0)
3636
forwardable-extended (2.6.0)
3737
gemoji (3.0.1)
3838
git (1.8.1)
@@ -193,6 +193,7 @@ GEM
193193
jekyll-seo-tag (~> 2.0)
194194
jekyll-titles-from-headings (0.5.3)
195195
jekyll (>= 3.3, < 5.0)
196+
jekyll-twitter-plugin (2.1.0)
196197
jekyll-watch (2.2.1)
197198
listen (~> 3.0)
198199
jemoji (0.12.0)
@@ -277,6 +278,7 @@ DEPENDENCIES
277278
github-pages
278279
jekyll-feed
279280
jekyll-sitemap
281+
jekyll-twitter-plugin
280282
mgem
281283
yard-coderay
282284
yard-mruby

_config.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ markdown: kramdown
1010
highlighter: rouge
1111
url: https://mruby.org
1212
repository: https://github.com/mruby/mruby.github.io
13-
include: _index.html
13+
include: ['_index.html']
1414
plugins:
1515
- jekyll-feed
1616
- jekyll-sitemap
17+
- jekyll-twitter-plugin
1718
exclude:
1819
- CODEOWNERS
1920
- Gemfile

team/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -115,3 +115,5 @@ <h4>KOBAYASHI Shuji</h4>
115115
<h4>John Bampton</h4>
116116

117117
<h2>Link to more than 100 contributors! <a href="https://github.com/mruby/mruby/graphs/contributors">Contributors</a></h2>
118+
119+
{% twitter https://twitter.com/yukihiro_matz maxwidth=500 limit=5 %}

0 commit comments

Comments
 (0)