social-content-block.html.twig in Open Social 8.7
Same filename and directory in other branches
- 8.9 modules/social_features/social_content_block/templates/social-content-block.html.twig
- 8.6 modules/social_features/social_content_block/templates/social-content-block.html.twig
- 8.8 modules/social_features/social_content_block/templates/social-content-block.html.twig
- 10.3.x modules/social_features/social_content_block/templates/social-content-block.html.twig
- 10.0.x modules/social_features/social_content_block/templates/social-content-block.html.twig
- 10.1.x modules/social_features/social_content_block/templates/social-content-block.html.twig
- 10.2.x modules/social_features/social_content_block/templates/social-content-block.html.twig
Custom theme implementation to display a custom content block.
1 theme call to social-content-block.html.twig
- ContentBuilder::build in modules/
social_features/ social_content_block/ src/ ContentBuilder.php - Lazy builder callback for displaying a content blocks.
File
modules/social_features/social_content_block/templates/social-content-block.html.twigView source
- {#
- /**
- * @file
- * Custom theme implementation to display a custom content block.
- */
- #}
- <h4 class="card__title">
- {{ title }}
- <div class="card__subtitle">
- {{ subtitle }}
- </div>
- </h4>
- {{ topics }}
- {% if link %}
- <footer class="card__actionbar">
- {{ link }}
- </footer>
- {% endif %}