Answer the question
In order to leave comments, you need to log in
How to create drupal8 homepage??
Hello)) a question of such a plan. I know how to create a drupal main page through the admin panel by creating a node and then mark it as the main one in the site settings and then theme it through page--front.html.twig , but then the node will be visible in the menu content, and I just need a static page where certain blocks will be displayed, and in general the question is as follows. How to programmatically make it so that there is a main page, not glowing in the content, which is simply themed in the template, page--front.html.twig ??
Answer the question
In order to leave comments, you need to log in
In page.twig, use the {% if is_front %} construct and, for example, insert a block container.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question