From b64c9f4d26a25f4a63489d3207079c0725c83a40 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Sun, 1 Feb 2026 10:12:21 +0100 Subject: [PATCH] use extra abbr field for navbar links --- content/ai-system/_index.md | 5 ++++- content/dl4traj/_index.md | 5 ++++- content/homelab/_index.md | 3 +++ content/ml-tech/_index.md | 5 ++++- templates/base.html | 2 +- 5 files changed, 16 insertions(+), 4 deletions(-) diff --git a/content/ai-system/_index.md b/content/ai-system/_index.md index f6e256b..f955a4f 100644 --- a/content/ai-system/_index.md +++ b/content/ai-system/_index.md @@ -1,7 +1,10 @@ +++ -title = "AIsys" +title = "AI Systems & Infrastructure" sort_by = "date" paginate_by = 10 + +[extra] +abbr = "AIsys" +++ Basics of streamlined interaction with AI systems, peripherals that enable such interaction, and deployment of AI systems on real-world infrastructure. diff --git a/content/dl4traj/_index.md b/content/dl4traj/_index.md index 79bb750..7240ec2 100644 --- a/content/dl4traj/_index.md +++ b/content/dl4traj/_index.md @@ -1,7 +1,10 @@ +++ -title = "DL4traj" +title = "Deep Learning for Trajectory" sort_by = "date" paginate_by = 10 + +[extra] +abbr = "DL4traj" +++ Deep learning approaches for analysis and utilization of spatiotemporal trajectories. diff --git a/content/homelab/_index.md b/content/homelab/_index.md index 413ea93..ecef556 100644 --- a/content/homelab/_index.md +++ b/content/homelab/_index.md @@ -2,6 +2,9 @@ title = "Homelab" sort_by = "date" paginate_by = 10 + +[extra] +abbr = "Homelab" +++ My experience and stories tinkering with home servers, personal cloud, etc. diff --git a/content/ml-tech/_index.md b/content/ml-tech/_index.md index 1dad752..7a7e205 100644 --- a/content/ml-tech/_index.md +++ b/content/ml-tech/_index.md @@ -1,7 +1,10 @@ +++ -title = "MLtech" +title = "Machine Learning Techniques" sort_by = "date" paginate_by = 10 + +[extra] +abbr = "MLtech" +++ Investigation of certain topics of machine learning techniques and discussion of their motivation, design, and applications. diff --git a/templates/base.html b/templates/base.html index 81a23d0..ad6c122 100644 --- a/templates/base.html +++ b/templates/base.html @@ -32,7 +32,7 @@ {% set root = get_section(path="_index.md") %} {% for path in root.subsections | sort %} {% set s = get_section(path=path) %} - {{ s.title }} + {{ s.extra.abbr | default(value=s.title) }} {% endfor %}