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

**URL:** <https://talk.jekyllrb.com/t/how-to-set-the-result-title-when-google-a-jekyll-website/1091>\
**Category:** Uncategorized\
**Created:** [October 21, 2017, 10:56am UTC](https://talk.jekyllrb.com/t/how-to-set-the-result-title-when-google-a-jekyll-website/1091 "2017-10-21T10:56:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![livc](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/livc/32/544_2.png) [@livc](https://talk.jekyllrb.com/u/livc)\
**Post date:** [October 21, 2017, 10:56am UTC](https://talk.jekyllrb.com/t/how-to-set-the-result-title-when-google-a-jekyll-website/1091/1 "2017-10-21T10:56:14Z")

</div>

![image](https://canada1.discourse-cdn.com/flex030/uploads/jekyllrb/original/1X/c636495d0e1ffb94c4eec21a75704117e9823d3a.png)

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

Thanks.

---

<div class="post-metadata">

**Author:** ![mmistakes](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/mmistakes/32/2169_2.png) [@mmistakes](https://talk.jekyllrb.com/u/mmistakes)\
**Post date:** [October 21, 2017, 12:34pm UTC](https://talk.jekyllrb.com/t/how-to-set-the-result-title-when-google-a-jekyll-website/1091/2 "2017-10-21T12:34:20Z")

</div>

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

> **[jekyll/jekyll-seo-tag](https://github.com/jekyll/jekyll-seo-tag)**
>
> A Jekyll plugin to add metadata tags for search engines and social networks to better index and display your site's content. - jekyll/jekyll-seo-tag

---

<div class="post-metadata">

**Author:** ![chuckhoupt](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/chuckhoupt/32/523_2.png) [@chuckhoupt](https://talk.jekyllrb.com/u/chuckhoupt)\
**Post date:** [October 21, 2017, 2:06pm UTC](https://talk.jekyllrb.com/t/how-to-set-the-result-title-when-google-a-jekyll-website/1091/3 "2017-10-21T14:06:50Z")

</div>

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

```auto
---
title: "Twitter. It's what's happening."
---

# Twitter
...

```

---

<div class="post-metadata">

**Author:** ![jhvanderschee](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/jhvanderschee/32/583_2.png) [@jhvanderschee](https://talk.jekyllrb.com/u/jhvanderschee)\
**Post date:** [October 23, 2017, 8:51am UTC](https://talk.jekyllrb.com/t/how-to-set-the-result-title-when-google-a-jekyll-website/1091/4 "2017-10-23T08:51:32Z")

</div>

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:

> **[SEO](https://jekyllcodex.org/without-plugin/seo/)**
>
> Introduction: WordPress is famous for its SEO plugin. But what does it exactly do? Little that cannot be achieved by some HTML and liquid. This script takes ...

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.
