You are here

styleguide-item.html.twig in Style Guide 8

Same filename and directory in other branches
  1. 2.x templates/styleguide-item.html.twig
<a name="{{ key }}"></a>
<h2 class="styleguide">{{ item.title }}</h2>
{% if item.description %}
    <p class="styleguide-description">
        {{ item.description }}
    </p>
{% endif %}
<div class="styleguide">
    {{ content }}
</div>

File

templates/styleguide-item.html.twig
View source
  1. <a name="{{ key }}"></a>
  2. <h2 class="styleguide">{{ item.title }}</h2>
  3. {% if item.description %}
  4. <p class="styleguide-description">
  5. {{ item.description }}
  6. </p>
  7. {% endif %}
  8. <div class="styleguide">
  9. {{ content }}
  10. </div>