Code injection of blog post is not working

If you’re looking for help, please provide information about your environment. If you delete this template and don’t provide any information, your topic will be automatically closed.

If you aren’t running the latest version of Ghost, the first thing we’ll ask you to do is update to the latest version of Ghost.

  • **What version of Ghost are you using? ** v5.87.0


  • How was Ghost installed and configured?
    we have deployed docker image on aws elastic beanstalk and we have used ghost-storage-adapter-s3 npm package to store images on s3 bucket and ebs was configured with elastic file system to make our theme persistent and settings persistent across deployments

  • What Node version, database, OS & browser are you using?
    Node version : v18.20.3 , database : mySql 8.0.35, OS : Docker running on 64bit Amazon Linux 2023/4.2.2 , browser : chrome , firefox

  • What errors or information do you see in the console?
    No errors

  • What steps could someone else take to reproduce the issue you’re having?
    We entered <meta name="robots" content="noindex" /> for some blog posts in blog post’s code injection panel. and this tag is not appearing on browser irrespective of how many time we refreshed. we also have custom code in global injection panel

we are using casper theme. we modified this theme a bit i.e we show updated time of blog posts.

You might want to confirm that you didn’t remove {{ghost_head}} when you modified the theme. :)

Is the code injection from site wide showing up correctly?

One other thought - consider switching the /> for >. I’m not sure it’s your problem, but it’ll be easy to test.

Yeah sitewide showing up correctly and {{ghost_head}} also exits in theme and tried this > instead of /> , but still meta tag has not appeared