Skip to content

Commit

Permalink
docs: use pages
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecesr committed Oct 11, 2024
1 parent da15491 commit cbc8a58
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 15 deletions.
5 changes: 0 additions & 5 deletions lessons/_config.yml

This file was deleted.

19 changes: 9 additions & 10 deletions lessons/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
title: Unit Testing React
---

<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 %}
<ul>
{% for page in site.pages %}
{% if page.title %}
<li>
<a href="{{ page.url }}">{{ page.title }}</a>
</li>
{% endif %}
{% endfor %}
</ul>

0 comments on commit cbc8a58

Please sign in to comment.