diff options
| author | Danilo M. <danix@danix.xyz> | 2026-05-05 10:18:05 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-05-05 10:18:05 +0200 |
| commit | 0b192692a3108ca9def1f462aa5bb2489fa87690 (patch) | |
| tree | 26eeb78e02e836a73969a7e7b7be44951742cc9f /core | |
| parent | c554c8cd4a2b603f4a97f50adf78bc82c5e74d9d (diff) | |
| download | publisher-0b192692a3108ca9def1f462aa5bb2489fa87690.tar.gz publisher-0b192692a3108ca9def1f462aa5bb2489fa87690.zip | |
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 <noreply@anthropic.com>
Diffstat (limited to 'core')
| -rw-r--r-- | core/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
