move home page to site/pages

This commit is contained in:
Joshua Seigler 2024-06-07 11:41:52 -04:00
parent 134300421c
commit 5963b95e37
4 changed files with 42 additions and 25 deletions

10
README.md Normal file
View file

@ -0,0 +1,10 @@
## Prerequisites
- pnpm@9
- node@20
- [mise](https://mise.jdx.dev/) (optional) to install dependencies
## Usage
- Local development: `pnpm dev`
- Deploy: `pnpm upload`

19
site/_includes/home.njk Normal file
View file

@ -0,0 +1,19 @@
---
layout: "base.njk"
---
{{ content | safe }}
{%- for name, collection in collections -%}
{%- if name not in ["all", "timeline", "pages"] -%}
<h2>{{name | capitalize }}</h2>
<ul>
{%- for item in collection | reverse -%}
<li>
<a href="{{item.url}}">{{item.data.title}}</a>
{%- if item.data.dateString -%}
<aside>{{item.data.dateString}}</aside>
{%- endif -%}
</li>
{%- endfor -%}
</ul>
{%- endif -%}
{%- endfor -%}

View file

@ -1,25 +0,0 @@
---
layout: base
title: Home
---
<p>I'm Joshua Seigler, a homeschooled kid born in the 80s. I've watched technology advance from dial-up and Geocities pages, to federated social media and decentralized autonomous organizations.</p>
<p>After a period exploring cryptocurrencies and building web development skills, I dove into political philosophy, focusing on economics, conspiracy, and truth-seeking generally.</p>
<p>In an effort to make sense of the tremendous social shifts that occurred in 2019/2020, I started learning about symbolism and mysticism, trying to escape an obsolete materialistic mindset. In 2021 I returned to faith in Jesus and joined an Eastern Orthodox church.</p>
<p>If you would like to reach me, you can <a href="mailto:joshua@seigler.net?subject=found+your+website">send me electronic mail</a>. Or for a closer look at my professional history, try my <a href="/timeline">timeline</a>.<p>
{%- for name, collection in collections -%}
{%- if name not in ["all", "timeline", "pages"] -%}
<h2>{{name | capitalize }}</h2>
<ul>
{%- for item in collection | reverse -%}
<li>
<a href="{{item.url}}">{{item.data.title}}</a>
{%- if item.data.dateString -%}
<aside>{{item.data.dateString}}</aside>
{%- endif -%}
</li>
{%- endfor -%}
</ul>
{%- endif -%}
{%- endfor -%}

13
site/pages/home.md Normal file
View file

@ -0,0 +1,13 @@
---
layout: home.njk
title: Home
permalink: /
---
I'm Joshua Seigler, a homeschooled kid born in the 80s. I've watched technology advance from dial-up and Geocities pages, to federated social media and decentralized autonomous organizations.
After a period exploring cryptocurrencies and building web development skills, I dove into political philosophy, focusing on economics, conspiracy, and truth-seeking generally.
In an effort to make sense of the tremendous social shifts that occurred in 2019/2020, I started learning about symbolism and mysticism, trying to escape an obsolete materialistic mindset. In 2021 I returned to faith in Jesus and joined an Eastern Orthodox church.
If you would like to reach me, you can [send me electronic mail](mailto:joshua@seigler.net?subject=found+your+website). Or for a closer look at my professional history, try my [timeline](/timeline).