Dynamic page metadata | HCL Digital Experience
HTML defines some elements that refer to information that is managed as page metadata on portal pages. You can use the dynamic page metadata rewriting feature to place this information into the static HTML code automatically.
The dynamic page metadata rewriting feature affects the HTML tags
<base>
, <title>
, and <meta>
. Enable the rewriting for each of these tags by modifying the following page
metadata: - Set spa.ex.base.enabled to
true
. The default isfalse
. - Set spa.ex.title.enabled to
true
. The default isfalse
. - Set spa.ex.meta.enabled to
true
. The default isfalse
.
- spa.ex.base.enabled
- The
href
attribute of the<base>
tag is replaced by the base URL to the current page. - spa.ex.title.enabled
- The text value of the
<title>
tag is replaced by the page title that is using the currently requested location. - spa.ex.meta.enabled
- If the
<meta>
tag contains anhttp-equiv
attribute, thecontent
attribute specifies the requested HTTP response header.