basically releasable
This commit is contained in:
parent
04cf8eb646
commit
0314b6a427
41 changed files with 281 additions and 1760 deletions
5
site/posts/2024-06-05--first-post.md
Normal file
5
site/posts/2024-06-05--first-post.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: First post
|
||||
---
|
||||
|
||||
It's my first post!
|
10
site/posts/posts.11tydata.js
Normal file
10
site/posts/posts.11tydata.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
const { DateTime } = require("luxon");
|
||||
|
||||
module.exports = {
|
||||
layout: "post.njk",
|
||||
permalink: "/posts/{{ title | slugify }}/",
|
||||
tags: ["posts"],
|
||||
eleventyComputed: {
|
||||
dateString: ({ page }) => DateTime.fromJSDate(page.date, { zone: 'utc' }).toLocaleString(DateTime.DATE_FULL)
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue