canonical/charmhub.io

Charmhub is parsing discourse post titles differently to ubuntu.com

grobbie opened this issue · 5 comments

This leads to duplicated post titles on Ubuntu.com:

image

image

Please update the library charmhub is using, thanks

Lukewh commented

Hi @grobbie, can you provide a link to both pages?
It's not clear what the outcome here should be – on the one hand, you'd like Charmhub to be updated to be the same as ubuntu.com, but you say ubuntu.com is incorrect?

Hi, ubuntu.com is parsing things correctly, charmhub is not. Charmhub should take the article title from the the "title" field in discouse, at the moment it isn't, hence writers are required to duplicate the title inside the article as a h1

Lukewh commented

We'll take a look!
Can you provide links to:

  • the page on Ubuntu.com
  • the page on charmhub.io
  • the Discourse post

Thanks :)

Hi @grobbie, ubuntu.com has been updated and we no longer have this issue anymore.