Skip to content

Commit a223df5

Browse files
author
Casper Beyer
committed
Move tutorials listing to tutorials.html
1 parent af681c4 commit a223df5

2 files changed

Lines changed: 21 additions & 16 deletions

File tree

index.html

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
11
---
2-
layout: default
2+
layout: home
33
title: Home
4-
---
5-
6-
<ul>
7-
{% for tutorial in site.tutorials limit: 5 %}
8-
<li>
9-
<h4>
10-
<a href="{{ tutorial.url | prepend: site.baseurl }}">
11-
{{ tutorial.title }}
12-
</a>
13-
</h4>
14-
15-
{{ tutorial.content | markdownify | split: "</p>" | first }}
16-
</li>
17-
{% endfor %}
18-
</ul>
4+
---

tutorials.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
layout: default
3+
title: Tutorials
4+
permalink: /tutorials/
5+
---
6+
7+
<ul>
8+
{% for tutorial in site.tutorials limit: 5 %}
9+
<li>
10+
<h4>
11+
<a href="{{ tutorial.url | prepend: site.baseurl }}">
12+
{{ tutorial.title }}
13+
</a>
14+
</h4>
15+
16+
{{ tutorial.content | markdownify | split: "</p>" | first }}
17+
</li>
18+
{% endfor %}
19+
</ul>

0 commit comments

Comments
 (0)