Tagging content - display keywords in template

Is there any way to display the keywords specified in the ‘Tagging content’ feature in a .ftl template.

ex. I have defined multiple keywords for a document

how can I reference them and use them in .ftl template?

note: I cannot specify path property

you should be able to access this field by calling document.tags in your template.
(if you are not using dynamic beans, you need to add a method to your document bean e.g.:

public String getTags(){
return getSingleProperty("hippostd:tags");
}
1 Like

Thanks @machak,

I have managed to display the tags as follows:

    <ul>
	  <#list document.tags as tag>
	    <li>${tag}</li>
	  </#list>
	</ul>