social-tagging-split.html.twig in Open Social 10.0.x
Same filename in this branch
Same filename and directory in other branches
- 8.9 modules/social_features/social_tagging/templates/social-tagging-split.html.twig
- 8 modules/social_features/social_tagging/templates/social-tagging-split.html.twig
- 8.2 modules/social_features/social_tagging/templates/social-tagging-split.html.twig
- 8.3 modules/social_features/social_tagging/templates/social-tagging-split.html.twig
- 8.4 modules/social_features/social_tagging/templates/social-tagging-split.html.twig
- 8.5 modules/social_features/social_tagging/templates/social-tagging-split.html.twig
- 8.6 modules/social_features/social_tagging/templates/social-tagging-split.html.twig
- 8.7 modules/social_features/social_tagging/templates/social-tagging-split.html.twig
- 8.8 modules/social_features/social_tagging/templates/social-tagging-split.html.twig
- 10.3.x modules/social_features/social_tagging/templates/social-tagging-split.html.twig
- 10.1.x modules/social_features/social_tagging/templates/social-tagging-split.html.twig
- 10.2.x modules/social_features/social_tagging/templates/social-tagging-split.html.twig
post.html.twig Default theme implementation to present Post data.
This template is used when viewing Post pages.
Available variables:
- content: A list of content items. Use 'content' to print all content, or
- attributes: HTML attributes for the container element.
See also
1 theme call to social-tagging-split.html.twig
- social_tagging_process_tags in modules/
social_features/ social_tagging/ social_tagging.module - Build output on node view.
File
modules/social_features/social_tagging/templates/social-tagging-split.html.twigView source
- {#
- /**
- * @file post.html.twig
- * Default theme implementation to present Post data.
- *
- * This template is used when viewing Post pages.
- *
- *
- * Available variables:
- * - content: A list of content items. Use 'content' to print all content, or
- * - attributes: HTML attributes for the container element.
- *
- * @see template_preprocess_post()
- *
- * @ingroup themeable
- */
- #}
- <div class="card__block">
- {% for content in taghierarchy %}
- <p><strong>{{ content.title }}</strong></p>
- {% for tag in content.tags %}
- <a class="badge badge-default badge--large badge--pill" href="{{ tag.url }}">{{ tag.name }}</a>
- {% endfor %}
- {% endfor %}
- </div>