side scrolling wrappers for remaining tables
This commit is contained in:
parent
0d80d10ebf
commit
e0640d6687
|
|
@ -73,6 +73,7 @@ category using the `category_index.html` layout.
|
||||||
|
|
||||||
Generators are only required to implement one method:
|
Generators are only required to implement one method:
|
||||||
|
|
||||||
|
<div class="mobile-side-scroller">
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -91,6 +92,7 @@ Generators are only required to implement one method:
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
## Converters
|
## Converters
|
||||||
|
|
||||||
|
|
@ -130,6 +132,7 @@ end
|
||||||
|
|
||||||
Converters should implement at a minimum 3 methods:
|
Converters should implement at a minimum 3 methods:
|
||||||
|
|
||||||
|
<div class="mobile-side-scroller">
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -165,6 +168,7 @@ run on the page.</p>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
In our example, UpcaseConverter-matches checks if our filename extension is `.upcase`, and will render using the converter if it is. It will call UpcaseConverter-convert to process the content - in our simple converter we’re simply capitalizing the entire content string. Finally, when it saves the page, it will do so with the `.html` extension.
|
In our example, UpcaseConverter-matches checks if our filename extension is `.upcase`, and will render using the converter if it is. It will call UpcaseConverter-convert to process the content - in our simple converter we’re simply capitalizing the entire content string. Finally, when it saves the page, it will do so with the `.html` extension.
|
||||||
|
|
||||||
|
|
@ -194,6 +198,7 @@ Liquid::Template.register_tag('render_time', Jekyll::RenderTimeTag)
|
||||||
|
|
||||||
At a minimum, liquid tags must implement:
|
At a minimum, liquid tags must implement:
|
||||||
|
|
||||||
|
<div class="mobile-side-scroller">
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -212,6 +217,7 @@ At a minimum, liquid tags must implement:
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
You must also register the custom tag with the Liquid template engine as follows:
|
You must also register the custom tag with the Liquid template engine as follows:
|
||||||
|
|
||||||
|
|
@ -256,6 +262,7 @@ Liquid::Template.register_filter(Jekyll::AssetFilter)
|
||||||
|
|
||||||
There are two flags to be aware of when writing a plugin:
|
There are two flags to be aware of when writing a plugin:
|
||||||
|
|
||||||
|
<div class="mobile-side-scroller">
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -285,6 +292,7 @@ values are: <code>:lowest</code>, <code>:low</code>, <code>:normal</code>, <code
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
To use one of the example plugins above as an illustration, here is how you’d specify these two flags:
|
To use one of the example plugins above as an illustration, here is how you’d specify these two flags:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,7 @@ A basic Jekyll site usually looks something like this:
|
||||||
|
|
||||||
An overview of what each of these does:
|
An overview of what each of these does:
|
||||||
|
|
||||||
|
<div class="mobile-side-scroller">
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -93,3 +94,4 @@ An overview of what each of these does:
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ Jekyll uses the [Liquid](http://www.liquidmarkup.org/) templating language to pr
|
||||||
|
|
||||||
## Filters
|
## Filters
|
||||||
|
|
||||||
|
<div class="mobile-side-scroller">
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -136,6 +137,7 @@ Jekyll uses the [Liquid](http://www.liquidmarkup.org/) templating language to pr
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
## Tags
|
## Tags
|
||||||
|
|
||||||
|
|
@ -214,4 +216,3 @@ You can also use this tag to create a link to a post in Markdown as follows:
|
||||||
{% highlight html %}
|
{% highlight html %}
|
||||||
[Name of Link]({{ "{% post_url 2010-07-21-name-of-post " }}%})
|
[Name of Link]({{ "{% post_url 2010-07-21-name-of-post " }}%})
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ Jekyll traverses your site looking for files to process. Any files with [YAML Fr
|
||||||
|
|
||||||
## Global Variables
|
## Global Variables
|
||||||
|
|
||||||
|
<div class="mobile-side-scroller">
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -35,9 +36,11 @@ Jekyll traverses your site looking for files to process. Any files with [YAML Fr
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
## Site Variables
|
## Site Variables
|
||||||
|
|
||||||
|
<div class="mobile-side-scroller">
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -72,9 +75,11 @@ Jekyll traverses your site looking for files to process. Any files with [YAML Fr
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
## Page Variables
|
## Page Variables
|
||||||
|
|
||||||
|
<div class="mobile-side-scroller">
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -113,6 +118,7 @@ Jekyll traverses your site looking for files to process. Any files with [YAML Fr
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="note">
|
<div class="note">
|
||||||
<h5>ProTip™: Use custom front-matter</h5>
|
<h5>ProTip™: Use custom front-matter</h5>
|
||||||
|
|
@ -121,6 +127,7 @@ Jekyll traverses your site looking for files to process. Any files with [YAML Fr
|
||||||
|
|
||||||
## Paginator
|
## Paginator
|
||||||
|
|
||||||
|
<div class="mobile-side-scroller">
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -159,6 +166,7 @@ Jekyll traverses your site looking for files to process. Any files with [YAML Fr
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="note info">
|
<div class="note info">
|
||||||
<h5>Paginator variable availability</h5>
|
<h5>Paginator variable availability</h5>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue