How to add custom topic map code?

Dear Arkshine,

that worked like a charm, thank you. For example, on this post, there have been no comments yet, so we never have been able to know about its pageviews, and other metadata.

With the improvements implemented by @pmusaraj [1], shared by @Don [2], and popularized by @JammyDodger, it works like DWIM. I love it, thank you very much!

  1. FIX: Don't force show topic map on non-first posts by pmusaraj · Pull Request #19302 · discourse/discourse · GitHub ↩︎

  2. How to show topic-map on non-commented posts? - #15 by Don ↩︎