2018-01-16 21:08:47 -06:00
|
|
|
---
|
2023-01-23 08:17:38 -06:00
|
|
|
layout: layouts/home.webc
|
2019-11-11 15:39:48 -06:00
|
|
|
eleventyNavigation:
|
2022-07-27 17:00:44 -05:00
|
|
|
key: i18n.nav.home
|
2019-11-11 15:39:48 -06:00
|
|
|
order: 1
|
2018-01-16 21:08:47 -06:00
|
|
|
---
|
2020-10-16 13:06:30 -05:00
|
|
|
{% set maxPosts = collections.posts.length | min(3) %}
|
|
|
|
<h1>Latest {% if maxPosts == 1 %}Post{% else %}{{ maxPosts }} Posts{% endif %}</h1>
|
2018-09-19 16:52:49 +02:00
|
|
|
|
2018-09-30 00:09:09 -05:00
|
|
|
{% set postslist = collections.posts | head(-3) %}
|
2020-01-02 21:51:24 -06:00
|
|
|
{% set postslistCounter = collections.posts | length %}
|
2018-01-22 08:17:48 -06:00
|
|
|
{% include "postslist.njk" %}
|
2018-09-19 16:52:49 +02:00
|
|
|
|
2022-08-19 11:05:22 -05:00
|
|
|
<p>More posts can be found in <a href="/blog/">the archive</a>.</p>
|
2022-07-15 12:11:54 -05:00
|
|
|
|
2022-07-15 12:15:25 -05:00
|
|
|
{# List all of the pages in the project
|
2022-07-15 12:11:54 -05:00
|
|
|
<ul>
|
|
|
|
{%- for entry in collections.all %}
|
|
|
|
<li><a href="{{ entry.url }}"><code>{{ entry.url }}</code></a></li>
|
|
|
|
{%- endfor %}
|
|
|
|
</ul>
|
2022-07-15 12:15:25 -05:00
|
|
|
#}
|