What is under the hood of meta tags, especially meta description?

Hi everyone.

I currently noticed ghost does not fill up meta title & description automatically. I thought it was being handled by ghost because it was being manged to create og and twitter tags. Even in official ghost demo page doesn’t have meta title and meta description.

I took a quick search on the forum but couldn’t find any proper reason why devs left this part blank, not like og and twitter tags. Should users manually take title and some text from the title and the body for every post they make? I suppose there should be an option for at least matching meta description with opengraph and twitter cards.

If you don’t explicitly set the meta description, Ghost won’t render it in the html, which is a good thing:

You can see the computation logic for meta description here:

https://github.com/TryGhost/Ghost/blob/master/core/frontend/meta/description.js

1 Like