I have couple questions about tags.
1. How to get list of tags of CURRENT post, which are described (for example) as:
tags=tag_one,tag_two,tag_three
2. How to get list of tags of any post in cycle?
For example:
<#list posts as post>
<h2><a href="${post.uri}">${post.title}</a></h2>
<!-- next code doesn't work -->
<#list post.tags as tag>
${tag.name}
</#list>
<!-- next code also doesn't work -->
<#list post.tags.split(",") as tag>
${tag}
</#list>
</#list>
Hello.I have couple questions about tags.
1. How to get list of tags of CURRENT post, which are described (for example) as:
tags=tag_one,tag_two,tag_three
2. How to get list of tags of any post in cycle?
For example:<#list posts as post>
<h2><a href="${post.uri}">${post.title}</a></h2><!-- next code doesn't work -->
<#list post.tags as tag>
${tag.name}
</#list>
<!-- next code also doesn't work -->
<#list post.tags.split(",") as tag>
${tag}
</#list>
</#list>