about summary refs log tree commit diff stats
path: root/app/views
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-13 12:50:33 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-13 12:50:33 -0400
commit250ef8b5d4f6cb457c4976528f72f6ea7bf5f6cc (patch)
tree21dba266c2d0b6c39a7202fbaf119d6a0b7cecf0 /app/views
parent27482983496cd0b8b6fa7dc943a1b05959735835 (diff)
downloadthoughts-250ef8b5d4f6cb457c4976528f72f6ea7bf5f6cc.tar.gz
thoughts-250ef8b5d4f6cb457c4976528f72f6ea7bf5f6cc.tar.bz2
thoughts-250ef8b5d4f6cb457c4976528f72f6ea7bf5f6cc.zip
Tag cloud
Diffstat (limited to 'app/views')
-rw-r--r--app/views/tags/index.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/tags/index.html.haml b/app/views/tags/index.html.haml new file mode 100644 index 0000000..c9f1e85 --- /dev/null +++ b/app/views/tags/index.html.haml
@@ -0,0 +1,4 @@
1%h2.centered Tag cloud
2#tag-cloud
3 - tag_cloud @tags, %w[xs s m l xl] do |tag, css_class|
4 = link_to tag.name, tag_url(tag.name), class: css_class, title: tag.taggings_count