Template
Populate the client website template with catalog feature flags.
Extract always-on public/portal/UTM plus optional email_sms, directmail, blog, payments, social, and social_ai so new client sites can be bootstrapped from this seed. Refs #1 Refs #2 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
from core.registry import register_feature, register_portal_nav, register_public_nav
|
||||
|
||||
|
||||
def register() -> None:
|
||||
register_feature("blog")
|
||||
register_public_nav(
|
||||
section="blog",
|
||||
label="Blog",
|
||||
url_name="blog:list",
|
||||
order=40,
|
||||
)
|
||||
register_portal_nav(
|
||||
section="blog",
|
||||
label="Blog posts",
|
||||
url_name="blog_portal:portal_list",
|
||||
group="Content",
|
||||
order=10,
|
||||
)
|
||||
Reference in New Issue
Block a user