-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #243 from groundh0g/issue-98
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{% comment %}<!-- | ||
The gist include allows you to embed GitHub Gist snippets in your content. | ||
Usage: | ||
1) include JB/gist | ||
2) specify the gist_id parameter (REQUIRED) | ||
3) specify the gist_file parameter (OPTIONAL) | ||
example: | ||
<ul> | ||
{% include JB/gist gist_id="fdcfeaba4f33c172828d" %} | ||
{% include JB/gist gist_id="fdcfeaba4f33c172828d" gist_file="jekyll-bootstrap.js" %} | ||
</ul> | ||
-->{% endcomment %} | ||
|
||
<div id="gist"> | ||
<script src="https://gist.github.com/{{ include.gist_id }}.js{% if include.gist_file %}?file={{ include.gist_file }}{% endif %}"></script> | ||
<noscript> | ||
<pre>https://gist.github.com/{{include.gist_id}}.js{% if include.gist_file %}?file={{include.gist_file}}{% endif %}</pre> | ||
</noscript> | ||
</div> |