Skip to content

Commit cbc8a58

Browse files
committed
docs: use pages
1 parent da15491 commit cbc8a58

File tree

2 files changed

+9
-15
lines changed

2 files changed

+9
-15
lines changed

lessons/_config.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

lessons/index.html

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
title: Unit Testing React
44
---
55

6-
<h1>Lessons</h1>
7-
<hr>
8-
{% for lesson in site.lessons %}
9-
<h2>
10-
<a href="{{ lesson.url }}">
11-
{{ lesson.name }} - {{ lesson.position }}
12-
</a>
13-
</h2>
14-
<p>{{ lesson.content | markdownify }}</p>
15-
{% endfor %}
6+
<ul>
7+
{% for page in site.pages %}
8+
{% if page.title %}
9+
<li>
10+
<a href="{{ page.url }}">{{ page.title }}</a>
11+
</li>
12+
{% endif %}
13+
{% endfor %}
14+
</ul>

0 commit comments

Comments
 (0)