domain_site_settngs + patch

home_mobile with entries
This commit is contained in:
2018-05-02 17:14:31 +02:00
parent f98eaa3836
commit 9e1c24478b
41 changed files with 8927 additions and 208 deletions
@@ -32,4 +32,12 @@
</div>
</div>
{% if entrees %}
<div class="entrees col small-col-12 med-col-4 large-col-3">
<div class="wrapper">
{{ entrees }}
</div>
</div>
{% endif %}
</div>
@@ -0,0 +1,42 @@
{#
/**
* @file
* Theme override to display a taxonomy term.
*
* Available variables:
* - url: URL of the current term.
* - name: Name of the current term.
* - content: Items for the content of the term (fields and description).
* Use 'content' to print them all, or print a subset such as
* 'content.description'. Use the following code to exclude the
* printing of a given child element:
* @code
* {{ content|without('description') }}
* @endcode
* - 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.
* - bundle: Machine name of the current vocabulary.
* - view_mode: View mode, e.g. 'full', 'teaser', etc.
*
* @see template_preprocess_taxonomy_term()
*/
#}
{%
set classes = [
'taxonomy-term',
'vocabulary-' ~ term.bundle|clean_class,
view_mode
]
%}
<div{{ attributes.setAttribute('id', 'taxonomy-term-' ~ term.id).addClass(classes) }}>
{{ title_prefix }}
{% if not page %}
<h2>{{ name }}</h2>
{% endif %}
{{ title_suffix }}
<div class="content">
{{ content }}
</div>
</div>