1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 22:30:04 +08:00

Add jekyll-seo-plugin

This commit is contained in:
wsdjeg 2017-09-23 14:24:43 +08:00
parent 784ec7b44f
commit ed3e5c5d4a
3 changed files with 3 additions and 19 deletions

View File

@ -1,3 +1,4 @@
source 'https://rubygems.org'
gem 'github-pages', group: :jekyll_plugins
gem 'jekyll-redirect-from', group: :jekyll_plugins
gem 'jekyll-seo-tag'

View File

@ -11,5 +11,6 @@ permalink: /:title/
plugins:
- jekyll-redirect-from
- jekyll-sitemap
- jekyll-seo-tag
github: [metadata]

View File

@ -9,25 +9,7 @@
enable_page_level_ads: true
});
</script>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"url": "{{ page.url }}",
"name": "{{ page.title | default: Home }} - SpaceVim",
"author": {
"@type": "Person",
"name": "Shidong Wang"
},
"description": "{{ page.description | site.description }}",
"publisher": "Shidong Wang",
"potentialAction": {
"@type": "SearchAction",
"target": "https://www.google.com/search?q={search_term}+site:spacevim.org",
"query-input": "required name=search_term"
}
}
</script>
{% seo %}
<script>
var _hmt = _hmt || [];
(function() {