How to add a header area?
问题 Please tell me how to add a header area on this page. Photo below. 回答1: Declare any new regions in your THEMENAME.info.yml file. Print your region in page.html.twig. If you declared header: 'Header' then you will print it in page.html.twig like this: {{ header }} After that you can create your custom block and place it in the newly created region. For more details and info go to Drupal 8 Docs. 来源: https://stackoverflow.com/questions/53790860/how-to-add-a-header-area