humanetech-community / community-hub

Project for the Humane Tech Community website

Home Page:https://humanetech.community

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Discourse comment topic should have a prefix, not a suffix

aschrijver opened this issue · comments

See also #44

When adding comments: true to a page, and a corresponding topic is created on the discussion forum, then it automatically gets a suffix appended to the title with website name, i.e. "[Page title] - Humane Tech Community".

Instead it would be better if it got a prefix instead. Two options:

  1. A generic prefix "Community Hub: [Page title]"
  2. A section-dependent prefix e.g. "Blog comments:" or "Documentation comments:"

Option 2 would be best, and it could still also have a suffix e.g. "(Community Hub)"

Example:

  • "Blog comments: How I Quit Facebook and Became Happier (Community Hub)"

This would need a feature request to meta.discourse.org in the topic where the comments integrator is discussed:

https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963

Or a PR to the repository where this lives.

Some code of Discourse that is involved here:

Closing this issue as won't fix as this requires extending Discourse, not related to the site functionality.

There is a way to get full control of the the topic title, and that is to first prepare a new topic on the forum and passing the topic ID in the page frontmatter section. See the documentation on Enabling comments