1
0
mirror of https://github.com/mbirth/wiki.git synced 2024-12-24 22:54:09 +00:00

Update Gemfile. Fix problem with categories in template.

This commit is contained in:
Markus Birth 2016-10-31 01:29:54 +01:00
parent 684baf2ba3
commit 757d4b2d03
3 changed files with 4 additions and 3 deletions

View File

@ -4,7 +4,8 @@ require 'json'
require 'open-uri' require 'open-uri'
versions = JSON.parse(open('https://pages.github.com/versions.json').read) 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 'kramdown'
gem 'jemoji' gem 'jemoji'

View File

@ -67,7 +67,7 @@
<meta itemprop="birthDate" content="1980-11-16" /> <meta itemprop="birthDate" content="1980-11-16" />
</div> </div>
<meta itemprop="headline" content="{{ page.title }}" /> <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="keywords" content="{{ page.tags | join: ',' }}" />
<meta itemprop="dateCreated" content="{{ page.created | date: '%Y-%m-%d' }}" /> <meta itemprop="dateCreated" content="{{ page.created | date: '%Y-%m-%d' }}" />
<meta itemprop="dateModified" content="{{ page.updated | date: '%Y-%m-%d' }}" /> <meta itemprop="dateModified" content="{{ page.updated | date: '%Y-%m-%d' }}" />

View File

@ -72,7 +72,7 @@
<meta itemprop="birthDate" content="1980-11-16" /> <meta itemprop="birthDate" content="1980-11-16" />
</div> </div>
<meta itemprop="headline" content="{{ page.title }}" /> <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="keywords" content="{{ page.tags | join: ',' }}" />
<meta itemprop="dateCreated" content="{{ page.created | date: '%Y-%m-%d' }}" /> <meta itemprop="dateCreated" content="{{ page.created | date: '%Y-%m-%d' }}" />
<meta itemprop="dateModified" content="{{ page.updated | date: '%Y-%m-%d' }}" /> <meta itemprop="dateModified" content="{{ page.updated | date: '%Y-%m-%d' }}" />