zh Kooboo Logo Documents

Dynamic Page Title & Meta

 

Response API
 
Page Dynamic Title and Meta content can be set via Response API. Here is an example:  
 
<script env="server">
	k.response.meta.title = "Test Title";
	k.response.meta.setMeta("keywords", "Website keywords");  
	//k.response.meta.setMeta(Name: string, HttpEquiv: string, CharSet: string, content: string): void
</script>
 
 
Page Setting
 
In the page setting page, find "HTML Meta",   click to add Meta tag.   {key} can be used to match variable value in the page execution.