39 lines
No EOL
971 B
Text
39 lines
No EOL
971 B
Text
# Blog page configuration with i18n
|
|
|
|
import "../../framework/schemas/i18n-config.k"
|
|
|
|
page: PageConfig = {
|
|
name = "blog"
|
|
title = "AuroraFrame Blog"
|
|
description = "Latest news and insights about AuroraFrame"
|
|
layout = "blog"
|
|
|
|
# Page-specific i18n configuration
|
|
i18n = {
|
|
enabled = True
|
|
extends_global = True
|
|
namespace = "blog"
|
|
|
|
# Blog has additional locale files
|
|
locale_files = ["blog.ftl", "categories.ftl"]
|
|
|
|
# Blog can override global messages for better context
|
|
override_global = True
|
|
|
|
# Custom route template with locale
|
|
route_template = "/{locale}/blog/{slug}"
|
|
|
|
# English is canonical for blog content
|
|
canonical_locale = "en-US"
|
|
}
|
|
|
|
# Content settings
|
|
content = {
|
|
per_page = 10
|
|
sort_by = "published_date"
|
|
sort_order = "desc"
|
|
enable_categories = True
|
|
enable_tags = True
|
|
enable_comments = True
|
|
}
|
|
} |