How to set the result title when google a jekyll website?

For example, how to set “Twitter. It’s what’s happening.” this sentence if it’s a Jekyll website?


This plugin will help you optimize your site and pages for search engines.

1 Like

To set the title of a page, set the title property in the page’s YAML front matter:

title: "Twitter. It's what's happening."

# Twitter

If you think using a plugin for Jekyll to set some variables in the head is unnecessary and is making things very untransparent. I would advice to use (a variation of) this code:

Note: I really like the SEO plugin for Jekyll. However, I think we should encourage people to understand the code they are using. Hiding the code in a plugin is not going to contribute to that goal. WordPress feels to much like a black-box. Jekyll should not.

1 Like