Change blog to articles
This commit is contained in:
parent
5bc9e89704
commit
35fb4aa607
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
layout: default
|
||||
title: Blog
|
||||
title: Archive
|
||||
use: [posts]
|
||||
---
|
||||
{% block page_title_wrapper %}
|
14
source/articles/index.html.twig
Normal file
14
source/articles/index.html.twig
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
layout: default
|
||||
title: Articles
|
||||
use: [posts]
|
||||
---
|
||||
{% for post in data.posts if post.favourite %}
|
||||
<div class="mb-10">
|
||||
{% include 'blog/post-summary' %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
<div class="markup">
|
||||
<a href="/articles/archive">Archive</a>
|
||||
</div>
|
Loading…
Reference in a new issue