From 0b192692a3108ca9def1f462aa5bb2489fa87690 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 5 May 2026 10:18:05 +0200 Subject: fix: use lowercase article types and restore selection in FrontmatterEditor ARTICLE_TYPES lowercased to match Hugo theme expectations. FrontmatterEditor now matches the existing frontmatter value case-insensitively so the correct type is selected rather than defaulting to the first item. Co-Authored-By: Claude Sonnet 4.6 --- core/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/models.py b/core/models.py index 9a7cff5..e7f0c36 100644 --- a/core/models.py +++ b/core/models.py @@ -2,7 +2,7 @@ from __future__ import annotations from dataclasses import dataclass from pathlib import Path -ARTICLE_TYPES = ["Life", "Photo", "Link", "Quote", "Tech"] +ARTICLE_TYPES = ["life", "photo", "link", "quote", "tech"] @dataclass -- cgit v1.2.3