forked from nyancrimew/maia.crimew.gay
initial eleventy rewrite
This commit is contained in:
parent
b8f67e543c
commit
f33312d40c
19 changed files with 266 additions and 195 deletions
30
.eleventy.js
Normal file
30
.eleventy.js
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
module.exports = function (eleventyConfig) {
|
||||||
|
const parseDate = (str) => {
|
||||||
|
if (str instanceof Date) {
|
||||||
|
return str;
|
||||||
|
}
|
||||||
|
const date = DateTime.fromISO(str, { zone: "utc" });
|
||||||
|
return date.toJSDate();
|
||||||
|
};
|
||||||
|
|
||||||
|
eleventyConfig.addPassthroughCopy({ "src/static": "/" });
|
||||||
|
|
||||||
|
eleventyConfig.addFilter("date_to_datetime", (obj) => {
|
||||||
|
const date = parseDate(obj);
|
||||||
|
return DateTime.fromJSDate(date).toUTC().toISO();
|
||||||
|
});
|
||||||
|
|
||||||
|
return {
|
||||||
|
templateFormats: ["njk", "md", "html"],
|
||||||
|
dir: {
|
||||||
|
input: "src",
|
||||||
|
includes: "_includes",
|
||||||
|
data: "_data",
|
||||||
|
output: "www",
|
||||||
|
},
|
||||||
|
markdownTemplateEngine: "njk",
|
||||||
|
htmlTemplateEngine: "njk",
|
||||||
|
dataTemplateEngine: "njk",
|
||||||
|
passthroughFileCopy: false,
|
||||||
|
};
|
||||||
|
};
|
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
node_modules
|
||||||
|
www
|
1
TODO.md
Normal file
1
TODO.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
* default maiacore cover image
|
94
index.html
94
index.html
|
@ -1,94 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<title>maia :3</title>
|
|
||||||
<link
|
|
||||||
rel="stylesheet"
|
|
||||||
href="https://lavender.software/webring/webring-0.2.0.css"
|
|
||||||
/>
|
|
||||||
</head>
|
|
||||||
<style>
|
|
||||||
html {
|
|
||||||
background-color: rgb(236, 169, 203);
|
|
||||||
color: rgb(92, 53, 124);
|
|
||||||
}
|
|
||||||
a {
|
|
||||||
color:rgb(255, 0, 140);
|
|
||||||
}
|
|
||||||
|
|
||||||
a.active {
|
|
||||||
color:rgb(195, 0, 255);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<body>
|
|
||||||
<header>
|
|
||||||
<h1>maia <sub>arson crimew</sub></h1>
|
|
||||||
<nav>
|
|
||||||
<span><a href="/" class="active">home</a></span>
|
|
||||||
<span>|</span>
|
|
||||||
<span><a href="/samples.html">sample packs</a></span>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
<p>
|
|
||||||
hello i am maia arson crimew <sup>(it/she)</sup> and this website is not finished at all as a
|
|
||||||
matter of fact i havent even rly started working on it yet.
|
|
||||||
</p>
|
|
||||||
<p>here is one of my favorite gifs:</p>
|
|
||||||
<img
|
|
||||||
src="/cat-explosion.gif"
|
|
||||||
alt="an very cool cat in front of an explosion"
|
|
||||||
/>
|
|
||||||
<div>
|
|
||||||
<span
|
|
||||||
><a href="https://twitter.com/_nyancrimew" target="_blank"
|
|
||||||
>birded site</a
|
|
||||||
></span
|
|
||||||
>
|
|
||||||
<span>|</span>
|
|
||||||
<span
|
|
||||||
><a href="https://crimew.gay/maia" target="_blank"
|
|
||||||
>fedded verse</a
|
|
||||||
></span
|
|
||||||
>
|
|
||||||
<span>|</span>
|
|
||||||
<span
|
|
||||||
><a href="https://soundcloud.com/nyancrimew" target="_blank"
|
|
||||||
>sounded cloud</a
|
|
||||||
></span
|
|
||||||
>
|
|
||||||
<span>|</span>
|
|
||||||
<span
|
|
||||||
><a href="https://last.fm/user/nyancrimew" target="_blank"
|
|
||||||
>last dot federated states of micronesia</a
|
|
||||||
></span
|
|
||||||
>
|
|
||||||
<span>|</span>
|
|
||||||
<span
|
|
||||||
><a href="https://github.com/deletescape" target="_blank"
|
|
||||||
>gitted hub</a
|
|
||||||
></span
|
|
||||||
>
|
|
||||||
<span>|</span>
|
|
||||||
<span
|
|
||||||
><a href="https://git.lavender.software/nyancrimew" target="_blank"
|
|
||||||
>gitted tea</a
|
|
||||||
></span
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
<footer>
|
|
||||||
<div>
|
|
||||||
<p>
|
|
||||||
<small
|
|
||||||
>i am going to add fun badges here eventually but i was too lazy to
|
|
||||||
do so today</small
|
|
||||||
>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<script
|
|
||||||
src="https://lavender.software/webring/webring-0.2.0.js"
|
|
||||||
data-site-id="maia"
|
|
||||||
></script>
|
|
||||||
</footer>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
101
samples.html
101
samples.html
|
@ -1,101 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<title>maia sample packs :3</title>
|
|
||||||
<link
|
|
||||||
rel="stylesheet"
|
|
||||||
href="https://lavender.software/webring/webring-0.2.0.css"
|
|
||||||
/>
|
|
||||||
</head>
|
|
||||||
<style>
|
|
||||||
html {
|
|
||||||
background-color: rgb(236, 169, 203);
|
|
||||||
color: rgb(92, 53, 124);
|
|
||||||
}
|
|
||||||
a {
|
|
||||||
color: rgb(255, 0, 140);
|
|
||||||
}
|
|
||||||
|
|
||||||
a.active {
|
|
||||||
color: rgb(195, 0, 255);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<body>
|
|
||||||
<header>
|
|
||||||
<h1>maia <sub>sample packs</sub></h1>
|
|
||||||
<nav>
|
|
||||||
<span><a href="/">home</a></span>
|
|
||||||
<span>|</span>
|
|
||||||
<span><a href="/samples.html" class="active">sample packs</a></span>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
<p>here are some sample packs i made!</p>
|
|
||||||
<div>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="/samples/annoying-catgirl-noises.zip"
|
|
||||||
><code>annoying-catgirl-noises.zip</code></a
|
|
||||||
>
|
|
||||||
- maia meows and uwus <small>(v1.0)</small>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="/samples/maiacore.zip"><code>maiacore.zip</code></a> -
|
|
||||||
recordings of maia saying random things, probably updated fairly
|
|
||||||
frequently <small>(v1.1)</small>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<span
|
|
||||||
><a href="https://twitter.com/_nyancrimew" target="_blank"
|
|
||||||
>birded site</a
|
|
||||||
></span
|
|
||||||
>
|
|
||||||
<span>|</span>
|
|
||||||
<span
|
|
||||||
><a href="https://crimew.gay/maia" target="_blank"
|
|
||||||
>fedded verse</a
|
|
||||||
></span
|
|
||||||
>
|
|
||||||
<span>|</span>
|
|
||||||
<span
|
|
||||||
><a href="https://soundcloud.com/nyancrimew" target="_blank"
|
|
||||||
>sounded cloud</a
|
|
||||||
></span
|
|
||||||
>
|
|
||||||
<span>|</span>
|
|
||||||
<span
|
|
||||||
><a href="https://last.fm/user/nyancrimew" target="_blank"
|
|
||||||
>last dot federated states of micronesia</a
|
|
||||||
></span
|
|
||||||
>
|
|
||||||
<span>|</span>
|
|
||||||
<span
|
|
||||||
><a href="https://github.com/deletescape" target="_blank"
|
|
||||||
>gitted hub</a
|
|
||||||
></span
|
|
||||||
>
|
|
||||||
<span>|</span>
|
|
||||||
<span
|
|
||||||
><a href="https://git.lavender.software/nyancrimew" target="_blank"
|
|
||||||
>gitted tea</a
|
|
||||||
></span
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
<footer>
|
|
||||||
<div>
|
|
||||||
<p>
|
|
||||||
<small
|
|
||||||
>i am going to add fun badges here eventually but i was too lazy to
|
|
||||||
do so today</small
|
|
||||||
>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<script
|
|
||||||
src="https://lavender.software/webring/webring-0.2.0.js"
|
|
||||||
data-site-id="maia"
|
|
||||||
></script>
|
|
||||||
</footer>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
28
src/_data/footer.json
Normal file
28
src/_data/footer.json
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
{
|
||||||
|
"links": [
|
||||||
|
{
|
||||||
|
"name": "birded site",
|
||||||
|
"link": "https://twitter.com/_nyancrimew"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "fedded verse",
|
||||||
|
"link": "https://crimew.gay/maia"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "sounded cloud",
|
||||||
|
"link": "https://soundcloud.com/nyancrimew"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "last dot federated states of micronesia",
|
||||||
|
"link": "https://last.fm/user/nyancrimew"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "gitted hub",
|
||||||
|
"link": "https://github.com/deletescape"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "gitted tea",
|
||||||
|
"link": "https://git.lavender.software/nyancrimew"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
10
src/_data/nav.json
Normal file
10
src/_data/nav.json
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name": "home",
|
||||||
|
"link": "/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "sample packs",
|
||||||
|
"link": "/samples/"
|
||||||
|
}
|
||||||
|
]
|
14
src/_data/samplepacks.json
Normal file
14
src/_data/samplepacks.json
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"filename": "annoying-catgirl-noises.zip",
|
||||||
|
"description": "maia meows and uwus",
|
||||||
|
"version": "v1.0",
|
||||||
|
"changes": "initial release"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "maiacore.zip",
|
||||||
|
"description": "recordings of maia saying random things, probably updated fairly frequently",
|
||||||
|
"version": "v1.1",
|
||||||
|
"changes": "add bell pepper samples"
|
||||||
|
}
|
||||||
|
]
|
24
src/_data/site.json
Normal file
24
src/_data/site.json
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
"url": "https://maia.crimew.gay",
|
||||||
|
"title": "maia :3",
|
||||||
|
"description": "meow",
|
||||||
|
"tags": [
|
||||||
|
"nyancrimew",
|
||||||
|
"maia arson crimew",
|
||||||
|
"android",
|
||||||
|
"switzerland",
|
||||||
|
"hacktivism",
|
||||||
|
"lucerne",
|
||||||
|
"developer",
|
||||||
|
"hacktivism"
|
||||||
|
],
|
||||||
|
"twitter": "@_nyancrimew",
|
||||||
|
"name": "maia arson crimew",
|
||||||
|
"pronouns": "it/she",
|
||||||
|
"language": "en",
|
||||||
|
"webring": {
|
||||||
|
"version": "0.2.0",
|
||||||
|
"siteId": "maia"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
14
src/_includes/components/footer.njk
Normal file
14
src/_includes/components/footer.njk
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
<footer>
|
||||||
|
<div>
|
||||||
|
{% for item in footer.links %}
|
||||||
|
<span><a href="{{ item.link }}" rel="me" target="_blank">{{ item.name }}</a></span>
|
||||||
|
{% if not loop.last %}
|
||||||
|
<span>|</span>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<p><small>i am going to add fun badges here eventually but i was too lazy to do so today</small></p>
|
||||||
|
</div>
|
||||||
|
<script src="https://lavender.software/webring/webring-{{ site.webring.version }}.js" data-site-id="{{ site.webring.siteId }}"></script>
|
||||||
|
</footer>
|
8
src/_includes/components/navigation.njk
Normal file
8
src/_includes/components/navigation.njk
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<nav>
|
||||||
|
{% for item in nav %}
|
||||||
|
<span><a href="{{ item.link }}" {% if page.url == item.link %}class="active"{% endif %}>{{ item.name }}</a></span>
|
||||||
|
{% if not loop.last %}
|
||||||
|
<span>|</span>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
</nav>
|
33
src/_includes/layouts/default.njk
Normal file
33
src/_includes/layouts/default.njk
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="{{ site.language }}">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>{{ title if title else site.title }}</title>
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="/style.css"/>
|
||||||
|
|
||||||
|
<meta name="description" content="{{ description if description else site.description }}" />
|
||||||
|
<meta name='keywords' content='{% if tags %}{{ tags }},{% endif %}{{ site.tags }}'>
|
||||||
|
<meta property="og:title" content="{{ title if title else site.title }}">
|
||||||
|
<meta property="og:description" content="{{ description if description else site.description }}">
|
||||||
|
<meta property="og:url" content="{{ site.url }}{{ page.url }}">
|
||||||
|
<meta property="og:image" content="{% if feature_image %}{{ site.url }}{{ feature_image }}{% else %}{{ site.url }}/img/cover.jpg{% endif %}">
|
||||||
|
<meta property="og:site_name" content="{{ site.title }}">
|
||||||
|
<meta name="article:author" content="{{ site.name }}">
|
||||||
|
{% if date %}<meta name="article:published_time" content="{{ date | date_to_datetime }}">{% endif %}
|
||||||
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
|
<meta name="twitter:site" content="{{ site.twitter }}">
|
||||||
|
<meta name="twitter:creator" content="{{ site.twitter }}">
|
||||||
|
<meta name="theme-color" content="#eca9cb">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<h1>maia <sub>{{ subhead if subhead else "arson crimew" }}</sub></h1>
|
||||||
|
{% include "components/navigation.njk" %}
|
||||||
|
</header>
|
||||||
|
<div id="content">
|
||||||
|
{% block content %}{% endblock %}
|
||||||
|
</div>
|
||||||
|
{% include "components/footer.njk" %}
|
||||||
|
</body>
|
||||||
|
</html>
|
15
src/index.njk
Normal file
15
src/index.njk
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
---
|
||||||
|
permalink: /index.html
|
||||||
|
---
|
||||||
|
{% extends 'layouts/default.njk' %}
|
||||||
|
{% block content %}
|
||||||
|
<p>
|
||||||
|
hello i am {{ site.name }} <sup>({{ site.pronouns }})</sup> and this website is not finished at all as a
|
||||||
|
matter of fact i havent even rly started working on it yet.
|
||||||
|
</p>
|
||||||
|
<p>here is one of my favorite gifs:</p>
|
||||||
|
<img
|
||||||
|
src="/img/cat-explosion.gif"
|
||||||
|
alt="an very cool cat in front of an explosion"
|
||||||
|
/>
|
||||||
|
{% endblock %}
|
17
src/samples.njk
Normal file
17
src/samples.njk
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
---
|
||||||
|
permalink: /samples/index.html
|
||||||
|
subhead: sample packs
|
||||||
|
---
|
||||||
|
{% extends 'layouts/default.njk' %}
|
||||||
|
{% block content %}
|
||||||
|
<p>here are some sample packs i made!</p>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
{% for pack in samplepacks %}
|
||||||
|
<li>
|
||||||
|
<a href="/samples/{{ pack.filename }}"><code>{{ pack.filename }}</code></a> <small title="{{ pack.changes }}">({{ pack.version }})</small> - {{ pack.description }}
|
||||||
|
</li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
Before Width: | Height: | Size: 272 KiB After Width: | Height: | Size: 272 KiB |
63
src/static/style.css
Normal file
63
src/static/style.css
Normal file
|
@ -0,0 +1,63 @@
|
||||||
|
html {
|
||||||
|
background-color: rgb(236, 169, 203);
|
||||||
|
color: rgb(92, 53, 124);
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: rgb(255, 0, 140);
|
||||||
|
}
|
||||||
|
|
||||||
|
a.active,
|
||||||
|
li.lavender-webring-curr-site > a {
|
||||||
|
color: rgb(195, 0, 255);
|
||||||
|
}
|
||||||
|
|
||||||
|
header {
|
||||||
|
padding-bottom: 5px;
|
||||||
|
border-bottom: 1px solid rgb(255, 0, 140);
|
||||||
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
padding-top: 5px;
|
||||||
|
border-top: 1px solid rgb(255, 0, 140);
|
||||||
|
}
|
||||||
|
|
||||||
|
header,
|
||||||
|
footer,
|
||||||
|
.lavender-webring-container {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content {
|
||||||
|
max-width: 900px;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
padding-top: 2em;
|
||||||
|
padding-bottom: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lavender-webring-container {
|
||||||
|
all: unset;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
padding: 1em;
|
||||||
|
font-size: 1.125rem;
|
||||||
|
}
|
||||||
|
.lavender-webring-description {
|
||||||
|
margin-block-end: 0.5em;
|
||||||
|
}
|
||||||
|
.lavender-webring-site-links {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||||
|
list-style: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
.lavender-webring-prev-site a::before {
|
||||||
|
content: "←";
|
||||||
|
margin-inline-end: 1ch;
|
||||||
|
}
|
||||||
|
.lavender-webring-next-site a::after {
|
||||||
|
content: "→";
|
||||||
|
margin-inline-start: 1ch;
|
||||||
|
}
|
7
src/whoami.njk
Normal file
7
src/whoami.njk
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
permalink: /whoami.json
|
||||||
|
---
|
||||||
|
{
|
||||||
|
"name": "{{ site.name }}",
|
||||||
|
"pronouns": "{{ site.pronouns }}"
|
||||||
|
}
|
Loading…
Reference in a new issue