-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathindex.html
48 lines (36 loc) · 1.32 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{% extends "app/templates/layout.html" %}
{% import "app/templates/layout.html" as layout %}
{% block head %}
{{ layout.head(title=file.fm.title, description=file.fm.description) }}
{% endblock %}
{% block subheader %}
{% include "app/templates/partials/_learn_subheader.html" %}
{% endblock %}
{% block page %}
<div class="container" id="main-content">
<h1>{{ file.fm.title_html | safe }}</h1>
<div class="learn-group">
<h2>Running Your First Java Application</h2>
<ul>
{% for tutorial in file.data.tutorials.start | sort(false, false, "category_order") %}
<li>
<a href="/{{ tutorial.path }}">{{ tutorial.title_html | safe }}</a><br />
<div class="desc">{{ tutorial.description_html | safe }}</div>
</li>
{% endfor %}
</ul>
</div>
<div class="learn-group">
<h2>Getting to Know the Language</h2>
<ul>
{% for tutorial in file.data.tutorials.language | sort(false, false, "category_order") %}
<li>
<a href="/{{ tutorial.path }}">{{ tutorial.title_html | safe }}</a><br />
<div class="desc">{{ tutorial.description_html | safe }}</div>
</li>
{% endfor %}
</ul>
</div>
{{ contents | safe }}
</div>
{% endblock %}