1.5. A page 📄index.md
example#
Folder structure
📂content
┣ 📄index.md
┗ 📂 mypage
┣ 📄index.md
┣ 📄slide1.md
┣ 📄slide2.md
┣ 📄slide3.md
┗ 📂figures
┗ 📊figure1.png
📂mypage/📄index.md
# myPage
{% if slide %}
<!-- BUILDING THE SLIDES -->
```{toctree}
:maxdepth: 2
./slide1
...
```
{% else %}
<!-- BUILDING THE PAGES -->
```{include} ./slide1.md
```
...
{% endif %}