Files
flexly-cms/design/examples/site-studio/fragments/data/entry_card/template.html.j2
T
phelex 0d171915d7 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.
2026-11-13 14:04:49 +03:00

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>