How to display the tags for each post in homepage view?

I want to display tags for each of the post in the post list in the home view.

I am modifying vienna theme.

I tried to copy below from singe.html to li.html but result that only title displaying.

< div class=“pull-right”>
{{ range .Params.tags }}
< span class=“post-tag small”>< a href="{{ $baseurl }}/tags/{{ . | urlize }}">#{{ . }}< /a>< /span>
{{ end }}
< / div>

It is that .Params.tags can not be accessed from homepage?
How to access the tags for each of the post in homepage view?

OK, I figured.

It is the baseUrl thing. Not param’s fault.