【发布时间】:2015-11-28 13:13:36
【问题描述】:
例如,我希望在单个 Twig 文件中包含页脚。
这些是我的地区:
regions:
nav: Navigation
content: Content
content_top: 'Content Top'
content_bottom: 'Content Bottom'
front_one: 'Front One'
front_two: 'Front Two'
footer: Footer
我尝试在我的主题的模板文件夹中创建一个region--footer.html.twig 文件,但这不起作用。
有什么建议吗?
【问题讨论】:
-
请更详细地向我们展示您尝试了什么以及出了什么问题/出了什么问题。
标签: php templates drupal twig drupal-8