0

我正在使用refinerycms 2.1.0. 我如何"Company name"从所有页面中删除页面标题,
我覆盖了主页,然后通过:hide_sections =>:body_content_title 来呈现
“/refinery/content_page”。但它不起作用。

Refinery CMS 的主要维护者之一来自 guides,他说:

在您包含的模板中添加一个 content_for :body_content_title 块。只需将其设为空白并通过传递 :locals => {:hide_sections => [:body_content_title]} 告诉 _content_page 部分隐藏空白部分。

4

1 回答 1

2

我认为您可能正在尝试从标题中删除站点名称。试试这个...

$ rake refinery:override view=refinery/_header.html
于 2013-10-11T17:34:27.073 回答