How can I pull the currently open topic's list of tags?

Ah, I have found the solution.

I kept re-reading this: Beginner's guide to developing Discourse Themes

and found that if I just console.log(this) it was able to spew out all data on the page, including tags. I think I can go from here now by pulling the tag data on the page and checking if it’s in the settings or not. Once I polish this and think it’s ready for the public, I’ll post it on the theme components category. Just thought I’d share my findings in case anyone else is learning how to make theme components!

3 Likes