Skip to content

Commit

Permalink
docs: change index
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecesr committed Oct 11, 2024
1 parent 2a6de59 commit da15491
Showing 2 changed files with 10 additions and 8 deletions.
1 change: 0 additions & 1 deletion lessons/_config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
collections:
lessons:
output: true
permalink: /:collection/:name
order:
- what-is-a-test.md
17 changes: 10 additions & 7 deletions lessons/index.html
Original file line number Diff line number Diff line change
@@ -3,10 +3,13 @@
title: Unit Testing React
---

<ul>
{% for lesson in site.lessons %}
<li>
<a href="{{ lesson.url }}">{{ lesson.title }}</a> - {{ lesson.description }}
</li>
{% endfor %}
</ul>
<h1>Lessons</h1>
<hr>
{% for lesson in site.lessons %}
<h2>
<a href="{{ lesson.url }}">
{{ lesson.name }} - {{ lesson.position }}
</a>
</h2>
<p>{{ lesson.content | markdownify }}</p>
{% endfor %}

0 comments on commit da15491

Please sign in to comment.