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


#1

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

Thanks.


#2

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


#3

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
...

#4

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.