studio-ui composer is ready to test actively
This commit is contained in:
+3
-2
@@ -84,8 +84,9 @@
|
||||
<article{{ attributes.addClass(classes) }}>
|
||||
<h2{{ title_attributes.addClass('node-title') }}>
|
||||
<a href="{{ url }}" rel="bookmark" {{ link_attributes }}>
|
||||
{% set text = label|render|striptags %}
|
||||
{{ text|length > 25 ? text|slice(0, 25)|split(' ')|slice(0, -1)|join(' ') ~ '…' : text }}
|
||||
{{ label }}
|
||||
{# set text = label|render|striptags #}
|
||||
{# text|length > 25 ? text|slice(0, 25)|split(' ')|slice(0, -1)|join(' ') ~ '…' : text #}
|
||||
</a>
|
||||
</h2>
|
||||
</article>
|
||||
|
||||
Reference in New Issue
Block a user