initial commit
This commit is contained in:
commit
611ab6a9c7
12 files changed
+114
No files matched your search
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"title": "Etynity Test Site",
|
||||
"description": "A small hand-written website using 11ty.",
|
||||
"url": "https://ety-test.mch.onl",
|
||||
"language": "en",
|
||||
"author": {
|
||||
"name": "Glyphscribe Ety"
|
||||
},
|
||||
"nav": [
|
||||
{ "title": "Home", "url": "/" },
|
||||
{ "title": "About", "url": "/about/" }
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
<!doctype html>
|
||||
<html lang="{{ site.language }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{% if title and page.url != "/" %}{{ title }} · {% endif %}{{ site.title }}</title>
|
||||
<meta name="description" content="{{ description or site.description }}">
|
||||
<link rel="canonical" href="{{ site.url }}{{ page.url }}">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
{% include "partials/header.njk" %}
|
||||
<main id="main">
|
||||
{{ content | safe }}
|
||||
</main>
|
||||
{% include "partials/footer.njk" %}
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,3 @@
|
||||
<footer class="site-footer">
|
||||
<p>© {{ site.author.name }} 2026</p>
|
||||
</footer>
|
||||
@@ -0,0 +1,10 @@
|
||||
<header class="site-header">
|
||||
<a class="site-title" href="/">{{ site.title }}</a>
|
||||
<nav aria-label="Main">
|
||||
<ul>
|
||||
{%- for item in site.nav %}
|
||||
<li><a href="{{ item.url }}"{% if item.url == page.url or (item.url != "/" and page.url.startsWith(item.url)) %} aria-current="page"{% endif %}>{{ item.title }}</a></li>
|
||||
{%- endfor %}
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
title: About
|
||||
description: Who is this ety?
|
||||
layout: layouts/base.njk
|
||||
permalink: /about/
|
||||
---
|
||||
|
||||
# About
|
||||
|
||||
Yeaaaah. You're in the right place.
|
||||
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
@@ -0,0 +1,17 @@
|
||||
---
|
||||
title: Home
|
||||
description: Welcome to ety.onl.
|
||||
layout: layouts/base.njk
|
||||
---
|
||||
|
||||
# Hello
|
||||
|
||||
This is the main page. Markdown with the good stuff on top.
|
||||
|
||||
## Content A
|
||||
|
||||
Is pretty cool.
|
||||
|
||||
## Content B
|
||||
|
||||
Is pretty cool, too.
|
||||
Reference in new issue
Block a user