-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathreference.html
42 lines (38 loc) · 1.03 KB
/
reference.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
layout: page
title: Reference
order: 1
---
<div class="row">
<div class="col-sm-8">
{% for section in site.data.reference %}
<section class="reference-section">
<h2 id="{{ section.id }}">
{{ section.title }}
</h2>
{% for example in section.examples %}
<div class="reference-example">
{% if example.text %}
<p>{{ example.text }}</p>
{% endif %}
<div class="example-source">
{% highlight slim %}{{ example.slime }}{% endhighlight %}
</div>
<div class="example-output">
{% highlight html %}{{ example.output }}{% endhighlight %}
</div>
</div>
{% endfor %}
</section>
{% endfor %}
</div>
<div class="col-sm-3 col-sm-offset-1">
<ul class="reference-sidemenu">
{% for section in site.data.reference %}
<li>
<a href="#{{ section.id }}">{{ section.title }}</a>
</li>
{% endfor %}
</ul>
</div>
</div>