How to Add Meta tags into discourse

We are having multiple meta tags needs to be added into our discourse forum site. But we haven’t found any solution related to that in the forums. Any help would be appreciated.

Some examples are:

<meta name="twitter:label1" content="Est. reading time" />
<meta name="twitter:data1" content="3 minutes" />
<meta property="og:image:width" content="pageimagewidth" />
<meta property="og:image:height" content="pageimageheight" />

For those 4 examples, they would better fit as a pull request to the core Discourse, as those would be generally useful.

3 Likes

Thanks Rafael, those four are some samples. But we are having more tags to add (Not finalized yet). Also, can you please tell us how to raise a pull request for the tags inside core discourse.

Our contributing guide lives at discourse/CONTRIBUTING.md at master · discourse/discourse · GitHub

2 Likes

Are you sure? Those tag equivalents already exist when one boxing discourse topics (open graph / oembed).

Jeff, Can you please explain it a bit elaborately? Because I am new to discourse and I haven’t heard about these terms.

Sure, look at https://ogp.me/ and https://oembed.com/ for more information.