diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2020-03-29 15:49:00 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2020-03-29 15:49:00 +0200 |
| commit | 9ae60d45fb8fc7998cc4de8a4d9d39aebc7ffea1 (patch) | |
| tree | ddbaf35bfdd0d1d68b8a87de152fd688bec3f22e /templates/index.twig | |
| parent | cfdf056394c588263cd08042ea11d277ab553bca (diff) | |
| download | mitjafelicijan.com-9ae60d45fb8fc7998cc4de8a4d9d39aebc7ffea1.tar.gz | |
Moved post listing into partials
Diffstat (limited to 'templates/index.twig')
| -rw-r--r-- | templates/index.twig | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/templates/index.twig b/templates/index.twig index 5056040..b7916cf 100644 --- a/templates/index.twig +++ b/templates/index.twig | |||
| @@ -36,18 +36,10 @@ | |||
| 36 | {% include "partials/navigation.twig" %} | 36 | {% include "partials/navigation.twig" %} |
| 37 | 37 | ||
| 38 | <h2>Posts</h2> | 38 | <h2>Posts</h2> |
| 39 | {% include "partials/posts.twig" %} | ||
| 39 | 40 | ||
| 40 | <ul class="article-list"> | ||
| 41 | {% for item in list %} | ||
| 42 | <li> | ||
| 43 | <time datetime="{{ item.date|date("Y, F j") }}">{{ item.date|date("Y, F j") }}</time> | ||
| 44 | <a href="{{ item.slug }}">{{ item.title }}</a> | ||
| 45 | </li> | ||
| 46 | {% endfor %} | ||
| 47 | </ul> | ||
| 48 | 41 | ||
| 49 | <h2>Projects</h2> | 42 | <h2>Projects</h2> |
| 50 | |||
| 51 | {% include "partials/projects.twig" %} | 43 | {% include "partials/projects.twig" %} |
| 52 | 44 | ||
| 53 | </main> | 45 | </main> |
