我正在使用Hippo CMS。
在使用HST SEO support plugin失败后,我意识到这HstResponse::addHeadElement
对我的 HTML 页面没有任何影响。
例如,在组件代码中添加以下行时:
Element title = response.createElement("title");
title.setTextContent("Foo");
response.addHeadElement(title, "hst.seo.document.title");
我希望<title>Foo</title>
响应中包含相应的标记,但事实并非如此。
我错过了什么?