Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Introduce jekyll-seo-tag #88

Merged
merged 4 commits into from Dec 22, 2016
Merged

Conversation

toshimaru
Copy link
Contributor

Changes

  • Enable jekyll-seo-tag on _config.yml
  • Bump github-pages to v111 (ref. https://pages.github.com/versions/ )
  • Set meta tags with {% seo %} . og:title, description, canonical, JSON+LD etc. is now set!
  • Title format changed: Riding Rails: Not Found => Not Found - Riding Rails

HTML Output Sample

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,width=device-width,minimum-scale=1,initial-scale=1">
    <link rel="alternate" type="application/atom+xml" title="Atom" href="/feed/atom.xml">
    <link href="/styles.css" type="text/css" media="screen" rel="stylesheet">
    <link href="/print.css" type="text/css" media="print" rel="stylesheet">
    <script type="text/javascript" async="" src="http://platform.twitter.com/widgets.js"></script>
    <!-- Begin Jekyll SEO tag v2.1.0 -->
<title>[ANN] Rails 5.0.1 has been released! - Riding Rails</title>
<meta property="og:title" content="[ANN] Rails 5.0.1 has been released!" />
<meta name="description" content="Hi everyone," />
<meta property="og:description" content="Hi everyone," />
<link rel="canonical" href="http://localhost:4000/2016/12/21/Rails-5-0-1-has-been-released/" />
<meta property="og:url" content="http://localhost:4000/2016/12/21/Rails-5-0-1-has-been-released/" />
<meta property="og:site_name" content="Riding Rails" />
<meta property="og:type" content="article" />
<meta property="article:published_time" content="2016-12-21T09:01:07+09:00" />
<script type="application/ld+json">
{"@context": "http://schema.org",
"@type": "BlogPosting",
"headline": "[ANN] Rails 5.0.1 has been released!",
"datePublished": "2016-12-21T09:01:07+09:00",
"description": "Hi everyone,",
"url": "http://localhost:4000/2016/12/21/Rails-5-0-1-has-been-released/"}</script>
<!-- End Jekyll SEO tag -->

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants