various stylistic changes

This commit is contained in:
Nyx 2025-02-28 23:04:28 -06:00
parent fa2e6a6278
commit ecb7925ede
5 changed files with 10 additions and 10 deletions

View file

@ -5,10 +5,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ title or metadata.title }}</title>
<meta name="description" content="{{ description or metadata.description }}">
<link rel="alternate" href="/feed/feed.xml" type="application/atom+xml" title="{{ metadata.title }}">
{#- Uncomment this if youd like folks to know that you used Eleventy to build your site! #}
{#- <meta name="generator" content="{{ eleventy.generator }}"> #}
<meta name="generator" content="{{ eleventy.generator }}">
{#-
Plain-text bundles are provided via the `eleventy-plugin-bundle` plugin:

View file

@ -2,9 +2,9 @@
permalink: 404.html
eleventyExcludeFromCollections: true
---
# Content not found.
# not found :(
Go <a href="index.njk">home</a>.
go <a href="index.njk">home</a>.
<!--

View file

@ -1,9 +1,9 @@
---js
const eleventyNavigation = {
key: "About",
key: "about",
order: 3
};
---
# About
# about
see this one's [site](https://nyx.everypizza.im/) for info about who it is.

View file

@ -1,10 +1,10 @@
---js
const eleventyNavigation = {
key: "Archive",
key: "all posts",
order: 2
};
---
<h1>Archive</h1>
<h1>all posts</h1>
{% set postslist = collections.posts %}
{% include "postslist.njk" %}

View file

@ -1,6 +1,6 @@
---js
const eleventyNavigation = {
key: "Home",
key: "home",
order: 1
};
@ -8,7 +8,7 @@ const numberOfLatestPostsToShow = 3;
---
{% set postsCount = collections.posts | length %}
{% set latestPostsCount = postsCount | min(numberOfLatestPostsToShow) %}
<h1>Latest {{ latestPostsCount }} Post{% if latestPostsCount != 1 %}s{% endif %}</h1>
<h1>most recent posts</h1>
{% set postslist = collections.posts | head(-1 * numberOfLatestPostsToShow) %}
{% set postslistCounter = postsCount %}
@ -27,3 +27,4 @@ const numberOfLatestPostsToShow = 3;
{%- endfor %}
</ul>
#}
<a href="/feed/feed.xml">rss feed</a>