Skip to content

Commit f19d003

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 b124537 commit f19d003

File tree

5 files changed

+12
-1
lines changed

5 files changed

+12
-1
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

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
source 'https://rubygems.org'
22

3-
gem 'github-pages'
3+
gem 'github-pages', group: :jekyll_plugins
4+
5+
group :jekyll_plugins do
6+
gem 'jekyll-twitter-plugin'
7+
end
48

59
group :scripts do
610
gem 'mgem'

Gemfile.lock

+2
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ GEM
190190
jekyll-seo-tag (~> 2.0)
191191
jekyll-titles-from-headings (0.5.3)
192192
jekyll (>= 3.3, < 5.0)
193+
jekyll-twitter-plugin (2.1.0)
193194
jekyll-watch (2.2.1)
194195
listen (~> 3.0)
195196
jemoji (0.12.0)
@@ -266,6 +267,7 @@ PLATFORMS
266267
DEPENDENCIES
267268
git
268269
github-pages
270+
jekyll-twitter-plugin
269271
mgem
270272
yard-coderay
271273
yard-mruby

_config.yml

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ highlighter: rouge
1111
url: https://mruby.org
1212
repository: https://github.com/mruby/mruby.github.io
1313
include: _index.html
14+
plugins:
15+
- jekyll-twitter-plugin
1416
exclude:
1517
- CODEOWNERS
1618
- 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)