various stylistic changes
This commit is contained in:
parent
fa2e6a6278
commit
ecb7925ede
5 changed files with 10 additions and 10 deletions
|
@ -5,10 +5,9 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>{{ title or metadata.title }}</title>
|
<title>{{ title or metadata.title }}</title>
|
||||||
<meta name="description" content="{{ description or metadata.description }}">
|
<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 you’d like folks to know that you used Eleventy to build your site! #}
|
{#- Uncomment this if you’d 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:
|
Plain-text bundles are provided via the `eleventy-plugin-bundle` plugin:
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
permalink: 404.html
|
permalink: 404.html
|
||||||
eleventyExcludeFromCollections: true
|
eleventyExcludeFromCollections: true
|
||||||
---
|
---
|
||||||
# Content not found.
|
# not found :(
|
||||||
|
|
||||||
Go <a href="index.njk">home</a>.
|
go <a href="index.njk">home</a>.
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
---js
|
---js
|
||||||
const eleventyNavigation = {
|
const eleventyNavigation = {
|
||||||
key: "About",
|
key: "about",
|
||||||
order: 3
|
order: 3
|
||||||
};
|
};
|
||||||
---
|
---
|
||||||
# About
|
# about
|
||||||
|
|
||||||
see this one's [site](https://nyx.everypizza.im/) for info about who it is.
|
see this one's [site](https://nyx.everypizza.im/) for info about who it is.
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
---js
|
---js
|
||||||
const eleventyNavigation = {
|
const eleventyNavigation = {
|
||||||
key: "Archive",
|
key: "all posts",
|
||||||
order: 2
|
order: 2
|
||||||
};
|
};
|
||||||
---
|
---
|
||||||
<h1>Archive</h1>
|
<h1>all posts</h1>
|
||||||
|
|
||||||
{% set postslist = collections.posts %}
|
{% set postslist = collections.posts %}
|
||||||
{% include "postslist.njk" %}
|
{% include "postslist.njk" %}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---js
|
---js
|
||||||
const eleventyNavigation = {
|
const eleventyNavigation = {
|
||||||
key: "Home",
|
key: "home",
|
||||||
order: 1
|
order: 1
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ const numberOfLatestPostsToShow = 3;
|
||||||
---
|
---
|
||||||
{% set postsCount = collections.posts | length %}
|
{% set postsCount = collections.posts | length %}
|
||||||
{% set latestPostsCount = postsCount | min(numberOfLatestPostsToShow) %}
|
{% 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 postslist = collections.posts | head(-1 * numberOfLatestPostsToShow) %}
|
||||||
{% set postslistCounter = postsCount %}
|
{% set postslistCounter = postsCount %}
|
||||||
|
@ -27,3 +27,4 @@ const numberOfLatestPostsToShow = 3;
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
#}
|
#}
|
||||||
|
<a href="/feed/feed.xml">rss feed</a>
|
||||||
|
|
Loading…
Add table
Reference in a new issue