feat(demo): add story 1 — Sorano: Rock and Time

This commit is contained in:
2026-06-20 21:19:57 +02:00
parent 42ed59a6b3
commit 8f87155c1d
5508 changed files with 1595740 additions and 124 deletions
@@ -0,0 +1,15 @@
{# Example template for a config-defined shortcode (the "shortcode builder").
Shipped as the `[callout]` example in the plugin's default config:
shortcodes:
- name: callout
template: 'shortcodes/callout.html.twig'
Use it in a page: [callout type="warning" title="Heads up"]Body text[/callout]
`params`, `content` and the raw `shortcode` object are available. All
`params`/`content` output is auto-escaped by Twig, so author input is safe. #}
<div class="sc-callout sc-callout--{{ params.type|default('info') }}">
{% if params.title %}<strong class="sc-callout__title">{{ params.title }}</strong>{% endif %}
<div class="sc-callout__body">{{ content }}</div>
</div>
@@ -0,0 +1,3 @@
<div class="sc-notice {{ type }}">
<div>{{ content|raw }}</div>
</div>