How to add Google Scholar citation meta tags to posts in a specific category?

We are using Discourse to run an open-access academic journal website, where each published paper exists as an individual post.

In order for these papers to be indexed by Google Scholar, it seems we need to dynamically add academic citation meta tags (such as citation_title, citation_author, citation_pdf_url, etc.) to the <head> section of each “article post.”

Are there any existing settings, plugins, or theme components that can achieve this functionality?

That’s an interesting use case for Discourse! You’d want a custom plugin to add that data per post, as far as I know there’s not anything currently available with this functionality.

I think you’d want to do something similar to our automation plugin, which uses register_topic_custom_field_type, discourse/plugins/automation/plugin.rb at f8666b60b0fe0fd0414b4b786f9abc710187ce75 · discourse/discourse · GitHub