Skip to content

Commit f7c49cc

Browse files
committed
Upgrade to latest Jekyll and use seo plugin
1 parent 3e55d55 commit f7c49cc

File tree

5 files changed

+27
-13
lines changed

5 files changed

+27
-13
lines changed

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
_site
22
.sass-cache
33
.jekyll-metadata
4-
*.lock
4+
*.lock
5+
vendor
6+
.bundle

Gemfile

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
source 'https://rubygems.org'
22

33
gem 'html-proofer', '3.0.6'
4-
gem 'jekyll', '~> 3.0.0'
5-
gem 'jekyll-redirect-from', '~> 0.9.0'
6-
gem 'jekyll-sitemap', '~> 0.9.0'
4+
gem 'github-pages', '166'
5+
gem 'jekyll-redirect-from', '0.12.1'
6+
gem 'jekyll-seo-tag', '2.3.0'
7+
gem 'jekyll-sitemap', '1.1.1'
78
gem 'pygments.rb'
89
gem 'rake'

_config.yml

+17-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,22 @@
11
# Site settings
22
title: Squeak/Smalltalk
3-
copyright: Squeak Projekt
3+
copyright: Squeak Deutschland e.V.
4+
url: http://squeak.de
45

56
# SEO
6-
description: >
7+
author: Squeak Deutschland e.V.
8+
description: >-
79
Squeak ist eine moderne, freie, und quelloffene Programmierumgebung
810
der Smalltalk Sprache.
9-
author: Squeak Foundation
11+
twitter:
12+
username: squeaksmalltalk
13+
logo: /static/img/squeak.png
14+
social:
15+
name: Squeak Deutschland e.V.
16+
links:
17+
- https://twitter.com/squeaksmalltalk
18+
- https://github.com/squeak-smalltalk
19+
- https://www.linkedin.com/groups/98736
1020

1121
collections:
1222
# Order matters
@@ -63,7 +73,7 @@ host: 0.0.0.0
6373
permalink: news/:year/:month/:day/:title/
6474

6575
# Caching
66-
build_version: 1.1
76+
build_version: 1.2
6777
staticurl: static/
6878

6979
# Build settings
@@ -74,9 +84,10 @@ markdown: kramdown
7484
future: true
7585

7686
# Enable plugins
77-
gems:
78-
- jekyll-sitemap
87+
plugins:
7988
- jekyll-redirect-from
89+
- jekyll-seo-tag
90+
- jekyll-sitemap
8091

8192
include: [_pages]
8293

_includes/head.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
<meta http-equiv="X-UA-Compatible" content="IE=edge">
44
<meta name="viewport" content="width=device-width, initial-scale=1">
55
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
6-
<meta name="description" content="{{ site.description }}">
7-
<meta name="author" content="{{ site.author }}">
86

97
<title>{{ site.title }}{% if page.section.title %} | {{ page.section.title }}{% else %}{% if page.title %} | {{ page.title }}{% endif %}{% endif %}</title>
108

@@ -20,4 +18,6 @@
2018
<script src="/static/js/html5shiv.min.js"></script>
2119
<script src="/static/js/respond.min.js"></script>
2220
<![endif]-->
21+
22+
{% seo title=false %}
2323
</head>

_layouts/section.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ <h1 class="section-heading"><span>{{ page.section.title }}</span></h1>
3232
<span class="anchor" id="{{ row.name | slugify }}"></span>
3333
<h2>{{ row.name }}</h2>
3434
{% endif %}
35-
{% assign reversedItems = row.items reversed %}
35+
{% assign reversedItems = row.items | reversed %}
3636
{% include row.html items=reversedItems %}
3737
{% endfor %}
3838
{% else %}

0 commit comments

Comments
 (0)