Commit 622b111b by Manzar Hussain

hide title

parent de8d7d8b
...@@ -55,14 +55,14 @@ ...@@ -55,14 +55,14 @@
{% if label_hidden %} {% if label_hidden %}
{% if multiple %} {% if multiple %}
<div{{ attributes.addClass(classes, 'field__items') }}>
{% for item in items %} {% for item in items %}
<div{{ item.attributes.addClass('field__item') }}>{{ item.content }}</div> {{ item.attributes.addClass('field__item') }}>{{ item.content }}
{% endfor %} {% endfor %}
</div>
{% else %} {% else %}
{% for item in items %} {% for item in items %}
<div{{ attributes.addClass(classes, 'field__item') }}>{{ item.content }}</div> {{ attributes.addClass(classes, 'field__item') }}>{{ item.content }}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% else %} {% else %}
......
{#
/**
* @file
* Default theme implementation for page titles.
*
* Available variables:
* - title_attributes: HTML attributes for the page title element.
* - title_prefix: Additional output populated by modules, intended to be
* displayed in front of the main title tag that appears in the template.
* - title: The page title, for use in the actual content.
* - title_suffix: Additional output populated by modules, intended to be
* displayed after the main title tag that appears in the template.
*
* @ingroup themeable
*/
#}
{{ title_prefix }}
{% if title %}
<h1{{ title_attributes }} style="display: none;">{{ title }}</h1>
{% endif %}
{{ title_suffix }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment