prepare subdirs
This commit is contained in:
parent
3e8a76214c
commit
9380ddf4d1
8 changed files with 25 additions and 38 deletions
5
content/ais/_index.md
Normal file
5
content/ais/_index.md
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
+++
|
||||||
|
title = "AI Systems"
|
||||||
|
sort_by = "date"
|
||||||
|
paginate_by = 10
|
||||||
|
+++
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
+++
|
|
||||||
title = "Blog"
|
|
||||||
sort_by = "date"
|
|
||||||
paginate_by = 10
|
|
||||||
+++
|
|
||||||
|
|
||||||
Occasional thoughts and findings from research and beyond.
|
|
||||||
|
|
@ -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.
|
|
||||||
5
content/homelab/_index.md
Normal file
5
content/homelab/_index.md
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
+++
|
||||||
|
title = "Homelab"
|
||||||
|
sort_by = "date"
|
||||||
|
paginate_by = 10
|
||||||
|
+++
|
||||||
5
content/ml-tech/_index.md
Normal file
5
content/ml-tech/_index.md
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
+++
|
||||||
|
title = "ML Techniques"
|
||||||
|
sort_by = "date"
|
||||||
|
paginate_by = 10
|
||||||
|
+++
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
--muted: #666;
|
--muted: #666;
|
||||||
--border: #e5e5e5;
|
--border: #e5e5e5;
|
||||||
--code-bg: #f5f5f5;
|
--code-bg: #f5f5f5;
|
||||||
--max-width: 42rem;
|
--max-width: 50rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
|
|
@ -57,6 +57,7 @@ header nav {
|
||||||
|
|
||||||
.site-title {
|
.site-title {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,9 @@
|
||||||
<header>
|
<header>
|
||||||
<nav>
|
<nav>
|
||||||
<a href="{{ get_url(path='/') }}" class="site-title">{{ config.title }}</a>
|
<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>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,12 @@
|
||||||
|
|
||||||
<section class="recent-posts">
|
<section class="recent-posts">
|
||||||
<h2>Recent Posts</h2>
|
<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">
|
<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>
|
<li>
|
||||||
<time datetime="{{ page.date }}">{{ page.date | date(format="%Y-%m-%d") }}</time>
|
<time datetime="{{ page.date }}">{{ page.date | date(format="%Y-%m-%d") }}</time>
|
||||||
<a href="{{ page.permalink }}">{{ page.title }}</a>
|
<a href="{{ page.permalink }}">{{ page.title }}</a>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue