forked from alshedivat/al-folio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Twitter Card Support (alshedivat#120)
* Feature Request : alshedivat#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.
- Loading branch information
JD
authored
Oct 3, 2020
1 parent
dacac74
commit f92f466
Showing
4 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ _site | |
.DS_store | ||
.ruby-version | ||
Gemfile.lock | ||
|
||
.tweet-cache/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |