classic-jekyll-theme 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +21 -1
- data/_includes/head.html +3 -1
- data/_sass/classic/_support.scss +5 -0
- data/pages/about/about.md +1 -1
- data/pages/classic/categories.md +1 -2
- data/pages/classic/classic.md +1 -2
- data/pages/classic/known-problems.md +1 -2
- data/pages/classic/pages.md +1 -2
- data/pages/classic/posts.md +1 -2
- data/pages/contact/contact.md +1 -2
- data/pages/cookie-consent/cookie-consent.md +1 -1
- data/pages/more/more.md +1 -2
- data/pages/other/example-page.md +1 -2
- data/pages/other/other.md +1 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d66db088a87b5e5e94c949c041b975572b3cb5b
|
4
|
+
data.tar.gz: 5b7eaf91abf6a65c5d88865cd0b120ee3c6ce581
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b06a89f85a6772beafe7fca4cc1ab94a8c3c3ce38acd4bcc6f9b3cd8f4aef69a3686556ad8abe7c2487683e46ebb9af289d98382cb3f648d91bc532eb2f2331c
|
7
|
+
data.tar.gz: df298a8486a0a696d78a9ca42295d4c507af39234f7be898516bb6da3463e4f8b3d972958df6d94d67232289d5da2696fab5e4762515846b48574e31f0a97357
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Classic-Jekyll-Theme v1.5.
|
1
|
+
# Classic-Jekyll-Theme v1.5.2
|
2
2
|
|
3
3
|
Welcome to Classic-Jekyll-Theme. This theme centers around one of the most used website structures on the web. A banner, navigation menu, (up to) three columns and a footer. The design is fully responsive for three different screen widths: wide, medium and narrow. It is probably best shown in an example:
|
4
4
|
|
@@ -48,6 +48,8 @@ Other features:
|
|
48
48
|
|
49
49
|
- __Normalize.css__ As of release 1.5.0 [`normalize.css`](https://necolas.github.io/normalize.css/) is used directly instead of through the Jekyll adaptation. This allows for faster upgrade cycles.
|
50
50
|
|
51
|
+
- __Excerpt on pages__ Pages defining an explicit "excerpt" in their YAML will use this as the description for the header description meta tag (necessary for SEO purposes). Note that Jekyll does not generate excerpt information for pages, only posts. Hence it is necessary to define the excerpt as a YAML tag.
|
52
|
+
|
51
53
|
You can get it from [github](https://github.com/Swiftrien/classic-jekyll-theme) or [rubygems](https://rubygems.org/gems/classic-jekyll-theme).
|
52
54
|
|
53
55
|
Subscribe to news about this theme (be informed of new releases) by sending a mail to: rien@balancingrock.nl with the subject "classic".
|
@@ -229,6 +231,17 @@ To create a page that must be included in the menu bar, add the following front
|
|
229
231
|
|
230
232
|
For a consistent user experience in the narrow layout, it is recommened not to link pages to top level menu items if these menu items have a drop-down submenu.
|
231
233
|
|
234
|
+
## Specifying html header description meta tag content for pages
|
235
|
+
|
236
|
+
The "description" meta tag is possibly the most important SEO information that we can put in our pages. It shows up as the "description" for a link in search engines. Jekyll does support this as the "excerpt" tag in YAML front matter. And if the "excerpt" is not defined, Jekyll will grab the first part of the post as its description. However, for pages there was no such support. As of verion 1.5.2 this theme adds a limited form of this support. If a page defines an excerpt in its YAML front matter, that excerpt information will be used as the information in a description meta tag.
|
237
|
+
|
238
|
+
---
|
239
|
+
...
|
240
|
+
excerpt: "Up to 160 characters can be used to provide a text for the description meta tag"
|
241
|
+
---
|
242
|
+
|
243
|
+
Note that the "excerpt_separator" does *not* work on pages, only posts.
|
244
|
+
|
232
245
|
## Editing the secondary and tertiary columns
|
233
246
|
|
234
247
|
The prime column is populated by the 'normal' pages and posts. The secondary and tertairy columns have a fixed content that is created by directly editing the `_include/secondary-column.html` and `_include/tertiary-column.html`. These files must be copied from the gem dictionary to the directory with the jekyll files for the website at the path `_include`.
|
@@ -320,6 +333,9 @@ Release 1.5.1
|
|
320
333
|
|
321
334
|
- Removed some non-ascii characters in the comments of `_sass/classic-jekyll-theme`.
|
322
335
|
|
336
|
+
Release 1.5.2
|
337
|
+
|
338
|
+
- Added excerpt for pages. YAML only, no support for excerpts generated from the main content.
|
323
339
|
|
324
340
|
## Upgrade information
|
325
341
|
|
@@ -454,6 +470,10 @@ The index for a menu item. If not present, the menu ordering is undetermined. If
|
|
454
470
|
- Update the version number in the `Gemfile` & delete the `Gemfile.lock` file.
|
455
471
|
- Remove the ≡ , ⇨ and ⇩ characters from the `_sass/classic-jekyll-theme.scss` file to prevent future problems. (If you had problems, you have already removed them...)
|
456
472
|
|
473
|
+
### from 1.5.1 to 1.5.2
|
474
|
+
|
475
|
+
- Update the version number in the `Gemfile` & delete the `Gemfile.lock` file.
|
476
|
+
- If the (undocumented) 'description' YAML tag was used, it must be changed to 'excerpt'.
|
457
477
|
|
458
478
|
## Feedback
|
459
479
|
|
data/_includes/head.html
CHANGED
@@ -4,7 +4,9 @@
|
|
4
4
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
5
|
|
6
6
|
<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
|
7
|
-
|
7
|
+
|
8
|
+
{% if page.excerpt %}{% assign description = page.excerpt %}{% else %}{% assign description = site.description %}{% endif %}
|
9
|
+
<meta name="description" content="{{ description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
|
8
10
|
|
9
11
|
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
|
10
12
|
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
|
data/_sass/classic/_support.scss
CHANGED
@@ -1,10 +1,15 @@
|
|
1
1
|
// This file contains class definitions for support of page and post layout. The classes are intended to be used in the markdown files as follows:
|
2
2
|
//
|
3
|
+
// ![image-name](image-source){:.image-centered}
|
4
|
+
//
|
5
|
+
// Or:
|
6
|
+
//
|
3
7
|
// ^
|
4
8
|
// {:.text-boxed-float-left}
|
5
9
|
// This is the text that will be in the box on the left hand side.
|
6
10
|
// ^
|
7
11
|
//
|
12
|
+
// Note: The second method will not always work for images! For images, follow the image with a class definition.
|
8
13
|
|
9
14
|
// text centered in a column
|
10
15
|
.text-centered {
|
data/pages/about/about.md
CHANGED
@@ -5,7 +5,7 @@ menuInclude: yes
|
|
5
5
|
menuLink: yes
|
6
6
|
menuTopTitle: About
|
7
7
|
menuTopIndex: 100
|
8
|
-
|
8
|
+
excerpt: A short introduction to the content of this site.
|
9
9
|
# end of description at 156 characters ----------| (last 3 chars will be replaced by '...' on overflow)
|
10
10
|
---
|
11
11
|
|
data/pages/classic/categories.md
CHANGED
@@ -5,8 +5,7 @@ date: 2016-11-04
|
|
5
5
|
menuInclude: yes
|
6
6
|
menuTopTitle: Classic
|
7
7
|
menuSubTitle: "About Categories"
|
8
|
-
|
9
|
-
# end of description at 156 characters ----------| (last 3 chars will be replaced by '...' on overflow)
|
8
|
+
excerpt: "An excerpt is used as the page description and can be up to 160 characters long..."
|
10
9
|
---
|
11
10
|
|
12
11
|
The "Categories" navigation menu is created automatically. However the website designer has to specify which categories must be included in the menu. This can be done by adding a page with the layout set to "category-page". This kicks off the creation of a page for the categorie specified in the `title` of that page's YAML matter.
|
data/pages/classic/classic.md
CHANGED
@@ -6,8 +6,7 @@ menuInclude: yes
|
|
6
6
|
menuLink: yes
|
7
7
|
menuTopTitle: Classic
|
8
8
|
menuTopIndex: 2
|
9
|
-
|
10
|
-
# end of description at 156 characters ----------| (last 3 chars will be replaced by '...' on overflow)
|
9
|
+
excerpt: "An excerpt is used as the page description and can be up to 160 characters long..."
|
11
10
|
---
|
12
11
|
|
13
12
|
The sub-pages contain some information about the "Classic-Jekyll-Theme", or "classic" in short.
|
@@ -6,8 +6,7 @@ menuInclude: yes
|
|
6
6
|
menuTopTitle: Classic
|
7
7
|
menuSubTitle: "Known problems"
|
8
8
|
menuSubIndex: 4
|
9
|
-
|
10
|
-
# end of description at 156 characters ----------| (last 3 chars will be replaced by '...' on overflow)
|
9
|
+
excerpt: "An excerpt is used as the page description and can be up to 160 characters long..."
|
11
10
|
---
|
12
11
|
|
13
12
|
There is some odd behaviour in the navigation bar that I have not been able to nail down yet. It has to do with the space between top level menu items. There is some additional space that I am not able to trace down. For those who like a puzzle: there is some space around a ".navbanner-menu ul li" that has no obvious source. Please let me know if you happen to find where it comes from. (rien@balancingrock.nl)
|
data/pages/classic/pages.md
CHANGED
@@ -6,8 +6,7 @@ menuInclude: yes
|
|
6
6
|
menuTopTitle: Classic
|
7
7
|
menuSubTitle: "About Pages"
|
8
8
|
menuSubIndex: 2
|
9
|
-
|
10
|
-
# end of description at 156 characters ----------| (last 3 chars will be replaced by '...' on overflow)
|
9
|
+
excerpt: "An excerpt is used as the page description and can be up to 160 characters long..."
|
11
10
|
---
|
12
11
|
|
13
12
|
Pages in classic can be linked to from the navigation menu. To do so there are some additional YAML tags that help building the navigation menu.
|
data/pages/classic/posts.md
CHANGED
@@ -6,8 +6,7 @@ menuInclude: yes
|
|
6
6
|
menuTopTitle: Classic
|
7
7
|
menuSubTitle: "About Posts"
|
8
8
|
menuSubIndex: 1
|
9
|
-
|
10
|
-
# end of description at 156 characters ----------| (last 3 chars will be replaced by '...' on overflow)
|
9
|
+
excerpt: "An excerpt is used as the page description and can be up to 160 characters long..."
|
11
10
|
---
|
12
11
|
|
13
12
|
Posting in classic is identical to standard jekyll.
|
data/pages/contact/contact.md
CHANGED
@@ -4,8 +4,7 @@ title: Contact
|
|
4
4
|
menuInclude: true
|
5
5
|
menuTopTitle: Contact
|
6
6
|
menuTopIndex: 99
|
7
|
-
|
8
|
-
# end of description at 156 characters ----------| (last 3 chars will be replaced by '...' on overflow)
|
7
|
+
excerpt: Contact information for this site.
|
9
8
|
---
|
10
9
|
|
11
10
|
Publish your contact information on this page.
|
data/pages/more/more.md
CHANGED
@@ -5,8 +5,7 @@ menuLink: no
|
|
5
5
|
menuTopTitle: More
|
6
6
|
menuTopIndex: 10
|
7
7
|
menuSubTitle: More of anything
|
8
|
-
|
9
|
-
# end of description at 156 characters ----------| (last 3 chars will be replaced by '...' on overflow)
|
8
|
+
excerpt: "An excerpt is used as the page description and can be up to 160 characters long..."
|
10
9
|
---
|
11
10
|
|
12
11
|
More of anything.
|
data/pages/other/example-page.md
CHANGED
@@ -6,8 +6,7 @@ menuInclude: yes
|
|
6
6
|
menuTopTitle: Other
|
7
7
|
menuSubTitle: The menu title
|
8
8
|
menuSubIndex: 1
|
9
|
-
|
10
|
-
# end of description at 156 characters ----------| (last 3 chars will be replaced by '...' on overflow)
|
9
|
+
excerpt: "An excerpt is used as the page description and can be up to 160 characters long..."
|
11
10
|
---
|
12
11
|
|
13
12
|
Example content.
|
data/pages/other/other.md
CHANGED
@@ -4,8 +4,7 @@ menuInclude: yes
|
|
4
4
|
menuLink: yes
|
5
5
|
menuTopTitle: Other
|
6
6
|
menuTopIndex: 3
|
7
|
-
|
8
|
-
# end of description at 156 characters ----------| (last 3 chars will be replaced by '...' on overflow)
|
7
|
+
excerpt: "An excerpt is used as the page description and can be up to 160 characters long..."
|
9
8
|
---
|
10
9
|
|
11
10
|
just some text
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: classic-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rien
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll-feed
|
@@ -166,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
166
166
|
version: '0'
|
167
167
|
requirements: []
|
168
168
|
rubyforge_project:
|
169
|
-
rubygems_version: 2.
|
169
|
+
rubygems_version: 2.5.2
|
170
170
|
signing_key:
|
171
171
|
specification_version: 4
|
172
172
|
summary: A responsive 3 column Jekyll theme for wide, medium and narrow displays.
|