mirror of
https://github.com/mbirth/wiki.git
synced 2024-12-23 22:44:07 +00:00
Update Gemfile. Fix problem with categories in template.
This commit is contained in:
parent
684baf2ba3
commit
757d4b2d03
3
Gemfile
3
Gemfile
@ -4,7 +4,8 @@ require 'json'
|
||||
require 'open-uri'
|
||||
versions = JSON.parse(open('https://pages.github.com/versions.json').read)
|
||||
|
||||
gem 'github-pages', versions['github-pages']
|
||||
#gem 'github-pages', versions['github-pages']
|
||||
gem 'github-pages', group: :jekyll_plugins
|
||||
|
||||
gem 'kramdown'
|
||||
gem 'jemoji'
|
||||
|
@ -67,7 +67,7 @@
|
||||
<meta itemprop="birthDate" content="1980-11-16" />
|
||||
</div>
|
||||
<meta itemprop="headline" content="{{ page.title }}" />
|
||||
<meta itemprop="articleSection" content="{{ page.categories.[0] }}" />
|
||||
<meta itemprop="articleSection" content="{{ page.categories[0] }}" />
|
||||
<meta itemprop="keywords" content="{{ page.tags | join: ',' }}" />
|
||||
<meta itemprop="dateCreated" content="{{ page.created | date: '%Y-%m-%d' }}" />
|
||||
<meta itemprop="dateModified" content="{{ page.updated | date: '%Y-%m-%d' }}" />
|
||||
|
@ -72,7 +72,7 @@
|
||||
<meta itemprop="birthDate" content="1980-11-16" />
|
||||
</div>
|
||||
<meta itemprop="headline" content="{{ page.title }}" />
|
||||
<meta itemprop="articleSection" content="{{ page.categories.[0] }}" />
|
||||
<meta itemprop="articleSection" content="{{ page.categories[0] }}" />
|
||||
<meta itemprop="keywords" content="{{ page.tags | join: ',' }}" />
|
||||
<meta itemprop="dateCreated" content="{{ page.created | date: '%Y-%m-%d' }}" />
|
||||
<meta itemprop="dateModified" content="{{ page.updated | date: '%Y-%m-%d' }}" />
|
||||
|
Loading…
Reference in New Issue
Block a user