make base.njk default template, update index
This commit is contained in:
3 files changed
+11
-9
No files matched your search
@@ -11,6 +11,8 @@ export default function (eleventyConfig) {
|
|||||||
eleventyConfig.addFilter("readableDate", (date) => UTC_LONG.format(date));
|
eleventyConfig.addFilter("readableDate", (date) => UTC_LONG.format(date));
|
||||||
eleventyConfig.addFilter("isoDate", (date) => date.toISOString().slice(0, 10));
|
eleventyConfig.addFilter("isoDate", (date) => date.toISOString().slice(0, 10));
|
||||||
|
|
||||||
|
eleventyConfig.addGlobalData("layout", "layouts/base.njk");
|
||||||
|
|
||||||
return {
|
return {
|
||||||
dir: { input: "src" },
|
dir: { input: "src" },
|
||||||
templateFormats: ["md", "njk", "html"],
|
templateFormats: ["md", "njk", "html"],
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
<footer class="site-footer">
|
<footer class="site-footer">
|
||||||
<p>Created with ❤️ by Ety using <a href="https://www.11ty.dev/">11ty</a> and <a href="https://code.mch.onl/ety/etydotonl/">handwritten markdown</a>.</p>
|
<p>Created with ❤️ by Ety using <a href="https://www.11ty.dev/">11ty</a> and <a href="https://code.mch.onl/ety/etydotonl/">markdown</a>.</p>
|
||||||
<p>© {{ site.author.name }} 2026</p>
|
|
||||||
</footer>
|
</footer>
|
||||||
+8
-7
@@ -1,17 +1,18 @@
|
|||||||
---
|
---
|
||||||
title: Home
|
title: Home
|
||||||
description: Welcome to ety.onl.
|
description: Welcome to ety.onl.
|
||||||
layout: layouts/base.njk
|
|
||||||
---
|
---
|
||||||
|
|
||||||
# Hello
|
# Hey there!
|
||||||
|
|
||||||
This is the main page. Markdown with the good stuff on top.
|
Welcome to my personal site. My name is Ety, and I’ll be your host during your stay here.
|
||||||
|
|
||||||
## Content A
|
## What is this place?
|
||||||
|
|
||||||
Is pretty cool.
|
We’re in the early stages, yet, but it’s my hope that this site can be a place to share some of my thoughts, projects, and passions, with any and all who might good company in such endeavors.
|
||||||
|
|
||||||
## Content B
|
## Under construction
|
||||||
|
|
||||||
Is pretty cool, too. I think. Testing a commit from Working Copy.
|
This site will be the 10th or 11th time I’ve attempted to maintain something between a website and blog.
|
||||||
|
|
||||||
|
In the evergreen words of the early web, ‘this space is under construction, please pardon our dust.’ It is left to you, the reader, to imagine the animated traffic cones and construction bollards as appropriate of the time.
|
||||||
Reference in new issue
Block a user