Move to a template suggestion that isn't broken
See https://www.drupal.org/project/ds/issues/2887778
This commit is contained in:
parent
1262491e13
commit
a9c6cd1cd2
1 changed files with 0 additions and 0 deletions
|
@ -0,0 +1,24 @@
|
|||
{#
|
||||
/**
|
||||
* @file
|
||||
* Display Suite 1 column template.
|
||||
*
|
||||
* Available variables:
|
||||
* - ds_content_wrapper: wrapper around content
|
||||
* - attributes: content region attributes
|
||||
* - ds_content: content region
|
||||
*/
|
||||
#}
|
||||
<{{ ds_content_wrapper }}{{ attributes.addClass('ds-1col', 'clearfix') }}>
|
||||
|
||||
{{ title_suffix.contextual_links }}
|
||||
|
||||
{% set image = ds_content.field_image|render %}
|
||||
{% if image %}
|
||||
{{ image }}
|
||||
{% else %}
|
||||
<figure class="background-replacement-for-no-image image"></figure>
|
||||
{% endif %}
|
||||
{{ ds_content|without('field_image') }}
|
||||
|
||||
</{{ ds_content_wrapper }}>
|
Loading…
Add table
Add a link
Reference in a new issue