-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
executable file
·34 lines (32 loc) · 1.05 KB
/
index.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
---
layout: default
---
<nav id='sidebar'>
{% include nav.html %}
</nav>
<section id='content'>
{% for post in site.posts %}
{% if post.category == null %}
<article class='{{ post.type }}'>
<a name='{{ post.url }}' href='#{{ post.url }}'><h2>{% if post.type %}<code><b>{{ post.type }}</b> {{ post.api_path }}</code> {% endif %}{{ post.title }}</h2></a>
<section class='body'>
{{ post.content }}
</section>
</article>
{% endif %}
{% endfor %}
{% for category in site.categories %}
{% for posts in category %}
{% for post in posts %}
{% if post.category != null %}
<article class='{{ post.type }}'>
<a name='{{ post.url }}' href='#{{ post.url }}'><h2>{% if post.type %}<code><b>{{ post.type }}</b> {{ post.api_path }}</code> {% endif %}{{ post.title }}</h2></a>
<section class='body'>
{{ post.content }}
</section>
</article>
{% endif %}
{% endfor %}
{% endfor %}
{% endfor %}
</section>