Hot answers tagged


In my case as I was using a views twig, and required the field's file path to be usable inside a href, I had to write it like this: <a href="{{ fields.field_cv_file.content|striptags }}" target="_blank">Download CV <i class="fal fa-long-arrow-right"></i></a>

Only top voted, non community-wiki answers of a minimum length are eligible