2018-01-16 22:08:47 -05:00
|
|
|
---
|
|
|
|
layout: layouts/home.njk
|
2019-11-11 16:39:48 -05:00
|
|
|
eleventyNavigation:
|
|
|
|
key: Home
|
|
|
|
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
|
|
|
|
2018-09-30 01:15:28 -04:00
|
|
|
<p>More posts can be found in <a href="{{ '/posts/' | url }}">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
|
|
|
#}
|