prepare subdirs

This commit is contained in:
Yan Lin 2026-01-30 16:42:49 +01:00
parent 3e8a76214c
commit 9380ddf4d1
8 changed files with 25 additions and 38 deletions

5
content/ais/_index.md Normal file
View file

@ -0,0 +1,5 @@
+++
title = "AI Systems"
sort_by = "date"
paginate_by = 10
+++

View file

@ -1,7 +0,0 @@
+++
title = "Blog"
sort_by = "date"
paginate_by = 10
+++
Occasional thoughts and findings from research and beyond.

View file

@ -1,27 +0,0 @@
+++
title = "Hello, Zola"
date = 2026-01-30
draft = false
+++
This blog has migrated from Quartz to Zola. The previous version was feature-rich with backlinks, graph views, and Obsidian integration. This new version prioritizes simplicity.
## Why the Change?
Quartz is excellent for digital gardens and interconnected notes. However, for a straightforward blog, it carries unnecessary complexity. Zola offers:
- **Fast builds**: Written in Rust, compilation is nearly instant
- **Simple structure**: Plain markdown files with TOML frontmatter
- **No JavaScript dependency**: Static HTML output
- **Nix-friendly**: Single binary, easy to include in flake
## What to Expect
The content focus remains the same:
- Machine learning techniques
- AI systems and infrastructure
- Conference paper summaries
- Occasional homelab notes
The design is intentionally minimal. No fancy features, just words on a page.

View file

@ -0,0 +1,5 @@
+++
title = "Homelab"
sort_by = "date"
paginate_by = 10
+++

View file

@ -0,0 +1,5 @@
+++
title = "ML Techniques"
sort_by = "date"
paginate_by = 10
+++

View file

@ -5,7 +5,7 @@
--muted: #666;
--border: #e5e5e5;
--code-bg: #f5f5f5;
--max-width: 42rem;
--max-width: 50rem;
}
@media (prefers-color-scheme: dark) {
@ -57,6 +57,7 @@ header nav {
.site-title {
font-weight: 600;
margin-right: auto;
}
}

View file

@ -22,7 +22,9 @@
<header>
<nav>
<a href="{{ get_url(path='/') }}" class="site-title">{{ config.title }}</a>
<a href="{{ get_url(path='blog') }}">Blog</a>
<a href="{{ get_url(path='ais') }}">AI Systems</a>
<a href="{{ get_url(path='homelab') }}">Homelab</a>
<a href="{{ get_url(path='ml-tech') }}">ML Tech</a>
</nav>
</header>
<main>

View file

@ -7,9 +7,12 @@
<section class="recent-posts">
<h2>Recent Posts</h2>
{% set blog = get_section(path="blog/_index.md") %}
{% set ais = get_section(path="ais/_index.md") %}
{% set homelab = get_section(path="homelab/_index.md") %}
{% set ml_tech = get_section(path="ml-tech/_index.md") %}
{% set all_pages = ais.pages | concat(with=homelab.pages) | concat(with=ml_tech.pages) %}
<ul class="post-list">
{% for page in blog.pages | slice(end=5) %}
{% for page in all_pages | sort(attribute="date") | reverse | slice(end=5) %}
<li>
<time datetime="{{ page.date }}">{{ page.date | date(format="%Y-%m-%d") }}</time>
<a href="{{ page.permalink }}">{{ page.title }}</a>