diff --git a/core/modules/taxonomy/templates/taxonomy-term.html.twig b/core/modules/taxonomy/templates/taxonomy-term.html.twig index 76fc81c..750fd73 100644 --- a/core/modules/taxonomy/templates/taxonomy-term.html.twig +++ b/core/modules/taxonomy/templates/taxonomy-term.html.twig @@ -13,12 +13,7 @@ * @code * {{ content|without('description') }} * @endcode - * - attributes: HTML attributes for the wrapper. The 'class' attribute - * contains the following classes by default: - * - taxonomy-term: The current template type, i.e. "theming hook". - * - vocabulary-[vocabulary-name]: The vocabulary that this term belongs to. - * For example, if the term belongs to a vocabulary called "Tags" then the - * class would be "vocabulary-tags". + * - attributes: HTML attributes for the wrapper. * - page: Flag for the full page state. * - term: The taxonomy term entity, including: * - id: The ID of the taxonomy term. @@ -30,19 +25,13 @@ * @ingroup themeable */ #} -{% - set classes = [ - 'taxonomy-term', - 'vocabulary-' ~ term.bundle|clean_class, - ] -%} -
+ {{ title_prefix }} {% if not page %}

{{ name }}

{% endif %} {{ title_suffix }} -
+
{{ content }}
diff --git a/core/modules/taxonomy/templates/taxonomy-term.html.twig b/core/themes/classy/templates/taxonomy/taxonomy-term.html.twig similarity index 100% copy from core/modules/taxonomy/templates/taxonomy-term.html.twig copy to core/themes/classy/templates/taxonomy/taxonomy-term.html.twig