This commit is contained in:
2025-10-19 16:28:35 +02:00
parent b18c6824d6
commit 1a76c31865

View File

@@ -120,6 +120,9 @@ fn play_pages(mut plbook PlayBook, mut site Site) ! {
mypage.slug = p.get_default('slug', '')!
mypage.draft = p.get_default_false('draft')
mypage.hide_title = p.get_default_false('hide_title')
if mypage.title.len > 0 {
mypage.hide_title = true
}
mypage.title_nr = p.get_int_default('title_nr', 0)!
site.pages << mypage