now with improve content include
This commit is contained in:
parent
e40c641a14
commit
d86e9480e1
6 changed files with 42 additions and 8 deletions
|
|
@ -20,6 +20,7 @@ header:
|
|||
|
||||
|
||||
<div class="medium-8 medium-pull-4 columns" markdown="1">
|
||||
{% include improve_content.html %}
|
||||
|
||||
## Different Page/Posts Formats {#formats}
|
||||
|
||||
|
|
@ -240,6 +241,13 @@ This include creates a next/previous link to a post of the same category using t
|
|||
~~~
|
||||
|
||||
|
||||
### improve_content.html
|
||||
|
||||
If your content is on Jekyll you can use this include to automatically generate a »Edit on GitHub Link« to give people a possibility to improve your content. Got the idea from [Ben Balters Blog](http://ben.balter.com/).
|
||||
|
||||
~~~
|
||||
{% raw %}{% include improve_content.html %}{% endraw %}
|
||||
~~~
|
||||
|
||||
|
||||
<small markdown="1">[Up to table of contents](#toc)</small>
|
||||
|
|
@ -264,6 +272,7 @@ I only added one other javascript-module: [`backstretch`][3] by Scott Robbin. Th
|
|||
/foundation/js/jquery.backstretch.js'
|
||||
~~~
|
||||
|
||||
{% include improve_content.html %}
|
||||
|
||||
</div><!-- /.medium-8.columns -->
|
||||
</div><!-- /.row -->
|
||||
|
|
|
|||
Reference in a new issue