How to display site logo, name, and slogan in twig template
In Drupal 8/9 to display site logo, name, and slogan in page.html.twig by using hook_preprocess_page() function.
Note: The logo image file must be present in the root folder of your current theme (or subfolder of your choice).
Note: The logo image file must be present in the root folder of your current theme (or subfolder of your choice).
Share
share your add link
https%3A%2F%2Fmycode.blog%2Flakshmi%2Fhow-display-site-logo-name-and-slogan-twig-template%0A
Share in social
Comments