You are here

styleguide-header.html.twig in Style Guide 8

Same filename and directory in other branches
  1. 2.x templates/styleguide-header.html.twig
<h2>{{ "Showing style guide for @name"|t({'@name': theme_info.name}) }}
</h2>
{% if theme_info.description %}
    <p>{{ theme_info.description }}</p>
{% endif %}
<h2 class="styleguide">
    {% trans %}
        Styleguide element entries</h2>
    {% endtrans %}
<p class="styleguide-description">
    {% trans %}
        Optional item description.</p>
    {% endtrans %}
<div class="styleguide">
    {% trans %}
        The header area indicates the style element being displayed. The horizontal rules indicate the top and bottom baselines of the rendered element.
    {% endtrans %}
</div>
<div class="break"><br /></div>

File

templates/styleguide-header.html.twig
View source
  1. <h2>{{ "Showing style guide for @name"|t({'@name': theme_info.name}) }}
  2. </h2>
  3. {% if theme_info.description %}
  4. <p>{{ theme_info.description }}</p>
  5. {% endif %}
  6. <h2 class="styleguide">
  7. {% trans %}
  8. Styleguide element entries</h2>
  9. {% endtrans %}
  10. <p class="styleguide-description">
  11. {% trans %}
  12. Optional item description.</p>
  13. {% endtrans %}
  14. <div class="styleguide">
  15. {% trans %}
  16. The header area indicates the style element being displayed. The horizontal rules indicate the top and bottom baselines of the rendered element.
  17. {% endtrans %}
  18. </div>
  19. <div class="break"><br /></div>