Bcat is seeking help to dynamically add content to the <head> section of AMP pages. They tried using a script but it was rendered outside of the <head> and <body> sections, and the content was only visible after page load, not in the view-source.
Bcat initially used a Discourse plugin script to achieve this, but the changes were only visible after JavaScript execution. To resolve this, Bcat added <xhtml:link rel="amphtml" href="" /> to the Sitemap, which successfully allowed Google to start indexing AMP pages (Bcat).