font.html.twig in Open Social 8.6
Same filename and directory in other branches
font.html.twig Default theme implementation to present Font data.
This template is used when viewing Font 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
File
modules/custom/social_font/templates/font.html.twigView source
- {#
- /**
- * @file font.html.twig
- * Default theme implementation to present Font data.
- *
- * This template is used when viewing Font 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_font()
- *
- * @ingroup themeable
- */
- #}
- <div{{ attributes.addClass('font') }}>
- {% if content %}
- {{- content -}}
- {% endif %}
- </div>