Add hashtag mark to trending tags display

This commit is contained in:
Hypolite Petovan 2019-08-06 20:55:40 -04:00
parent 19adb9a1a0
commit 0a9ed707b5

View file

@ -2,7 +2,7 @@
<h3>{{$title}}</h3> <h3>{{$title}}</h3>
<ul> <ul>
{{section name=ol loop=$tags max=10}} {{section name=ol loop=$tags max=10}}
<li><a href="search?tag={{$tags[ol].term}}">{{$tags[ol].term}}</a></li> <li><a href="search?tag={{$tags[ol].term}}">#{{$tags[ol].term}}</a></li>
{{/section}} {{/section}}
</ul> </ul>
{{if $tags|count > 10}} {{if $tags|count > 10}}
@ -10,7 +10,7 @@
<summary>{{$more}}</summary> <summary>{{$more}}</summary>
<ul> <ul>
{{section name=ul loop=$tags start=10}} {{section name=ul loop=$tags start=10}}
<li><a href="search?tag={{$tags[ul].term}}">{{$tags[ul].term}}</a></li> <li><a href="search?tag={{$tags[ul].term}}">#{{$tags[ul].term}}</a></li>
{{/section}} {{/section}}
</ul> </ul>
</details> </details>