skip to Main Content

Child page extends base.html.twig BUT content of base.html.twig is not rendered – Phpmyadmin

I am working with sulu cms and symfony. Just started with the project. This is my base.html.twig <!DOCTYPE html> <html lang="{{ app.request.locale|split('_')[0] }}"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> {% block meta %} {% include "@SuluWebsite/Extension/seo.html.twig"…

VIEW QUESTION

WordPress – How to echo a variable in Literals

is there a way in twig to echo a variable in literals, like this? {{ mb.get_the_post_thumbnail( post.ID, 'full', {'class': 'sec-mitarbeiter-image {{objectPositionClass}} '} ) }} Result: class="sec-mitarbeiter-image {{objectPositionClass}}" Expected: class="sec-mitarbeiter-image object-position-top"

VIEW QUESTION
Back To Top
Search