Drupal 8 twig print without comments

{{ content.field_ssylka|render|striptags|trim }}

example:

<a href="{{ content.field_ssylka|render|striptags|trim }}">
{{ content.field_ikonka_sverkhu }}
{{ content.field_jgb }}
</a>

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.