port tag cloud widget from hubzilla
This commit is contained in:
parent
29a1c067ee
commit
d7d653aab6
7 changed files with 188 additions and 2 deletions
11
view/templates/tagblock_widget.tpl
Normal file
11
view/templates/tagblock_widget.tpl
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
<div class="tagblock widget">
|
||||
<h3>{{$title}}</h3>
|
||||
|
||||
<div class="tags">
|
||||
{{foreach $tags as $tag}}
|
||||
<span class="tag{{$tag.level}}">#</span>
|
||||
<a href="search?f=&tag={{$tag.url}}" class="tag{{$tag.level}}">{{$tag.name}}</a>
|
||||
{{/foreach}}
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue