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.
2 lines
387 B
Django/Jinja
2 lines
387 B
Django/Jinja
<section class="section" id="{{ block.anchor or block.id }}"><div class="container"><h2>{{ props.heading or 'Рекомендуем' }}</h2>{% set item = entry_by_ref(props.entry) %}{% if item %}<a class="card standalone" href="{{ site_link(item.url) }}"><small>{{ item.collection|upper }}</small><strong>{{ item.title }}</strong><p>{{ item.summary }}</p></a>{% endif %}</div></section>
|