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