Change .html.twig to .html
Change other file extensions for consistency.
This commit is contained in:
parent
49cb968cc1
commit
592f054b36
15 changed files with 0 additions and 0 deletions
11
source/_partials/latest-posts.html
Normal file
11
source/_partials/latest-posts.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
{% if data.posts %}
|
||||
<section class="latest-posts">
|
||||
<h2>Latest Posts</h2>
|
||||
|
||||
<ul>
|
||||
{% for post in data.posts|slice(0,5) %}
|
||||
<li{% if page.url == post.url %} class="active"{% endif %}><a href="{{ post.url }}">{{ post.title }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</section>
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue