Add Site Studio themes and Theme Manager
Support categorized fragments, theme presets, block widths, and server-backed theme editing with onboarding and preview. Include Site Studio, design sources, specification and verification reports; remove the legacy studio-site example.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# Контракт демонстрационного фрагмента. Renderer production может уточнить DTO.
|
||||
id: richtext
|
||||
name: Markdown-контент
|
||||
category: content
|
||||
version: 1
|
||||
fields:
|
||||
- key: heading
|
||||
type: text
|
||||
required: false
|
||||
- key: source
|
||||
type: select
|
||||
required: false
|
||||
slots: {}
|
||||
@@ -0,0 +1,4 @@
|
||||
name: Markdown-контент
|
||||
props:
|
||||
heading: ''
|
||||
source: ''
|
||||
@@ -0,0 +1 @@
|
||||
<section class="section" id="{{ block.anchor or block.id }}"><div class="container prose">{% if props.heading %}<h2>{{ props.heading }}</h2>{% endif %}{{ render_markdown(content_body)|safe }}</div></section>
|
||||
Reference in New Issue
Block a user