I have a lot of links in my site, some of them contains
http/https and some not. I want to check every link and if it contains
http then add
target="_blank" to it.
I want to use macro for this, but this theme is unclear in documentation:
- In which file should I create this macro and in which folder? It should be a special file like
- How to use it globally in every twig file?
macros.html.twig in Antimatter:
but can’t find where this file is included or used: