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:
parent
784ec7b44f
commit
ed3e5c5d4a
@ -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'
|
||||
|
@ -11,5 +11,6 @@ permalink: /:title/
|
||||
plugins:
|
||||
- jekyll-redirect-from
|
||||
- jekyll-sitemap
|
||||
- jekyll-seo-tag
|
||||
|
||||
github: [metadata]
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user