How to add meta-keywords as <meta name="keywords" content="kw1, kw2, kw3" />?

How to add meta-keywords as ?

Someone told me to modify the core/server/helpers/index.js but I think that’s not the best idea.
Could I just use some feature in Code Injection?

Thanks a lot for your help.

@SW_Chen meta keywords have not been used by search engines for a very long time. However, if you want to incorporate the tag you can do so using the “Site Header” Code Injection field.

Nothing special is needed, you can put your html tag in directly, eg:

Thanks @Kevin. Thank you for your help.

Your answer really help me a lot.
But if wanna add meta-keyword automatically according to the tags of the post like “tag1,tag2,tag3,…”, do we have a sample for this? I tried to read the documents but failed.

Thanks again. Will be grateful for any reply.


You can do that in your theme’s default.hbs template, eg…

    <meta name="keywords" content="{{tags autolink="false"}}">

Thanks a lot for your help.