integrate old home page into new site

This commit is contained in:
Nycki 2024-09-15 11:58:13 -07:00
parent 6ef734905a
commit 7cf92ba05f
4 changed files with 74 additions and 45 deletions

View file

@ -8,7 +8,7 @@
<link rel="alternate" href="/blog/feed.xml" type="application/atom+xml" title="{{ metadata.title }}">
<link rel="alternate" href="/blog/feed.json" type="application/json" title="{{ metadata.title }}">
<meta name="generator" content="{{ eleventy.generator }}">
<link rel="stylesheet" href="/blog/index.css">
<link rel="stylesheet" href="/index.css">
<link rel="stylesheet" href="{% getBundleFileUrl 'css' %}">
</head>
<body>

View file

@ -63,17 +63,10 @@ a[href] {
color: var(--text-color-link);
}
main {
padding: 1rem;
}
main :first-child {
margin-top: 0;
}
.links-nextprev {
list-style: none;
border-top: 1rem double var(--xkcd-magenta);
padding: 1em 0;
border-top: 12px double var(--xkcd-magenta);
padding: 20px 0;
}
table {
@ -207,8 +200,14 @@ a[href].header-anchor:focus,
color: #aaa;
}
h2 + .header-anchor {
font-size: 1.5em;
h1:not(:has(+h2)) {
padding-bottom: 20px;
border-bottom: 12px double var(--xkcd-magenta);
}
h2 {
padding-top: 20px;
border-top: 12px double var(--xkcd-magenta);
}
img {
@ -217,8 +216,3 @@ img {
width: auto;
height: auto;
}
h1 {
padding-bottom: 1rem;
border-bottom: 1rem double var(--xkcd-magenta);
}

63
content/index.md Normal file
View file

@ -0,0 +1,63 @@
---
layout: layouts/home.njk
title: nycki.net
---
# {{ title }}
## Welcome!
My name is Nycki ([ˈnɪki](http://ipa-reader.xyz/?text=%CB%88n%C9%AAki)) (she/they), and [this is a website!](http://hrwiki.org/wiki/First_Time_Here%3F)
## Contact
Some of these will change as I transition from my old internet name 'Nupa' to my new one 'Nycki'. It's just personal preference, I'll still answer to either name for the time being.
- <nupanick@gmail.com>
- <https://github.com/nycki93>
- <https://twitter.com/nupanick>
## Blog
[blog!](/blog)
[rss!](/blog/feed.xml)
## Creations
Stuff I've made!
### Braceless Javascript
2018\. a couple of short programs written in browser JavaScript, with the special restriction that I can't use any instructions that require curly braces, like 'if' or 'for'. instead, I replace these instructions with ternaries and lambdas, which makes this a functional programming exercise!
[Fizzbuzz source on GitHub](https://github.com/nycki93/braceless-javascript/blob/master/fizzbuzz.html)
[99 bottles source on GitHub](https://github.com/nycki93/braceless-javascript/blob/master/bottles.html)
### Portal ZZT
2008\. A ZZT game inspired by Portal. Available at the Museum of ZZT.
[PortalZZT in the Museum of ZZT](https://museumofzzt.com/file/p/PortalZZT_v0_5.zip)
### ZZT Nanogames
2008\. A collection of ZZT games that use only one screen each. Also includes _Eight Legged Express_, which I believe was made in one weekend as a challenge.
[ZZT Nanogames in the Museum of ZZT](https://museumofzzt.com/file/n/nanopack01.zip)
### Collabyrinth
2008\. A collaborative labyrinth made in ZZT. I organized this collaboration on the z2 forums.
[Collabyrinth in the Museum of ZZT](https://museumofzzt.com/file/c/clbrnth1.zip)
### Traps and Zoids
2007\. Some hand-drawn cartoons and very old web design. Good old HTML 4.0 Transitional.
[Local mirror](/2007) | [Wayback Machine](https://web.archive.org/web/20071101001849/http://nick.lamicela.org/)
## Log
- 2023-12-14. Updated this website to use markdown, via pandoc and make.
- 2024-09-15. Redid the build process in Eleventy.

View file

@ -1,28 +0,0 @@
---
layout: layouts/home.njk
eleventyNavigation:
key: Home
order: 1
numberOfLatestPostsToShow: 3
---
{% set postsCount = collections.posts | length %}
{% set latestPostsCount = postsCount | min(numberOfLatestPostsToShow) %}
<h1>Latest {{ latestPostsCount }} Post{% if latestPostsCount != 1 %}s{% endif %}</h1>
{% set postslist = collections.posts | head(-1 * numberOfLatestPostsToShow) %}
{% set postslistCounter = postsCount %}
{% include "postslist.njk" %}
{% set morePosts = postsCount - numberOfLatestPostsToShow %}
{% if morePosts > 0 %}
<p>{{ morePosts }} more post{% if morePosts != 1 %}s{% endif %} can be found in <a href="/blog/">the archive</a>.</p>
{% endif %}
{# List every content page in the project #}
{#
<ul>
{%- for entry in collections.all %}
<li><a href="{{ entry.url }}"><code>{{ entry.url }}</code></a></li>
{%- endfor %}
</ul>
#}