classic-jekyll-theme 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e68d643d4627eb70265180c0b5fc32b0bf5ac5e
4
- data.tar.gz: 96afeb5bfe7386eb05b9eb12d47c954937378134
3
+ metadata.gz: e1ae224e9a2e49f3b6babdddc6881029a4f2e708
4
+ data.tar.gz: 5a800502d9043d33dd3a1f926a2a9f07ce2cdee4
5
5
  SHA512:
6
- metadata.gz: e7a389c28f619d43a16904d48c10d44615873d377aaeda1a61eea64a67c79347654f0c31833cb606e5fdaf5c136fabc1fe77d6a0d73b6c9b1307912d3bde4f4e
7
- data.tar.gz: abd8d448bce6e7112be0f296429e7060ff035071e632cc5769d0a04830a8d70b3dbc6071b85273383f588eef8e965c1e66abebeba9706b1ffbd077cd0012f21b
6
+ metadata.gz: 677fe54cc8706e7dce0ce0c40a5359d8edaa75e4fb74d60f9d25e4a98ec5a80d3319db7190e698d4e0e81277afd81a8bfd7fe807419dd3235f4b0d42d03bb0d8
7
+ data.tar.gz: 2db73bd3389afc905711238c13e8f0c4828081fa65b32df68f68f94bd015308e9067063cd5696500c4b3c565ce2d397368e298744b91e1d94fe95ea24517eb59
data/README.md CHANGED
@@ -32,25 +32,11 @@ For european users a cookies policy is included by default. It can be easily dis
32
32
 
33
33
  ## Installation
34
34
 
35
- Add this line to your Jekyll site's Gemfile:
35
+ Install it as:
36
36
 
37
- ```ruby
38
- gem "classic-jekyll-theme"
39
- ```
37
+ $ sudo gem install classic-jekyll-theme
40
38
 
41
- And add this line to your Jekyll site's `_config.yml`:
42
39
 
43
- ```yaml
44
- theme: classic-jekyll-theme
45
- ```
46
-
47
- And then execute:
48
-
49
- $ bundle
50
-
51
- Or install it yourself as:
52
-
53
- $ gem install classic-jekyll-theme
54
40
 
55
41
  ## Usage
56
42
 
data/_config.yml ADDED
@@ -0,0 +1,55 @@
1
+ # Welcome to Jekyll!
2
+ #
3
+ # This config file is meant for settings that affect your whole blog, values
4
+ # which you are expected to set up once and rarely edit after that. If you find
5
+ # yourself editing these this file very often, consider using Jekyll's data files
6
+ # feature for the data you need to update frequently.
7
+ #
8
+ # For technical reasons, this file is *NOT* reloaded automatically when you use
9
+ # 'bundle exec jekyll serve'. If you change this file, please restart the server process.
10
+
11
+ # Site settings
12
+ # These are used to personalize your new site. If you look in the HTML files,
13
+ # you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
14
+ # You can create any custom variable you would like, and they will be accessible
15
+ # in the templates via {{ site.myvariable }}.
16
+ title: Your awesome title
17
+ email: your-email@domain.com
18
+ description: > # this means to ignore newlines until "baseurl:"
19
+ Write an awesome description for your new site here. You can edit this
20
+ line in _config.yml. It will appear in your document head meta (for
21
+ Google search results) and in your feed.xml site description.
22
+ baseurl: "" # the subpath of your site, e.g. /blog
23
+ url: "" # the base hostname & protocol for your site, e.g. http://example.com
24
+ twitter_username: jekyllrb
25
+ github_username: jekyll
26
+
27
+
28
+ # Classic Jekyll Theme settings
29
+
30
+ # Classic uses three columns Primary, Secondary and Tertiary.
31
+ # The primary column is always present and cannot be manipulated.
32
+ # The secondary column is optional and is either to the left or to the right of the primary.
33
+ # The tertiary column is optional and if present will be opposite the secondary column in the wide display and below the secondary in the medium display.
34
+ # In the narrow display all three columns will be below each other (if present)
35
+ # If the tertiary column is used, the secondary column *must* also be used.
36
+
37
+ secondary_column: left # must be either 'left', 'right' or 'none', other values are illegal.
38
+ tertiary_column: present # must be either 'present' or 'none', other values are illegal.
39
+
40
+ number-of-posts-on-home-page: 5
41
+ number-of-recent-posts-in-widget: 10
42
+
43
+ enable-cookies-policy: yes # yes to include, no to disable
44
+
45
+ # End Classic Jekyll Theme settings
46
+
47
+
48
+ # Build settings
49
+ markdown: kramdown
50
+ theme: classic-jekyll-theme
51
+ gems:
52
+ - jekyll-feed
53
+ exclude:
54
+ - Gemfile
55
+ - Gemfile.lock
@@ -0,0 +1,11 @@
1
+ ---
2
+ layout: page
3
+ title: About this site
4
+ menuInclude: true
5
+ menuTitle: About
6
+ menuIndex: 100
7
+ description: A short introduction to the content of this site.
8
+ # end of description at 156 characters ----------| (last 3 chars will be replaced by '...' on overflow)
9
+ ---
10
+
11
+ You can edit the about page in the file `pages/about/about.md`
@@ -0,0 +1,10 @@
1
+ ---
2
+ layout: category-page
3
+ title: classic
4
+ ---
5
+
6
+ This file is only used to initiate the compilation of a category page for the category shown as title.
7
+
8
+ Duplicate this file with a different name and title for each category you want included in the list of category pages.
9
+
10
+ Note: title and category are case sensitive!
@@ -0,0 +1,10 @@
1
+ ---
2
+ layout: category-page
3
+ title: example
4
+ ---
5
+
6
+ This file is only used to initiate the compilation of a category page for the category shown as title.
7
+
8
+ Duplicate this file with a different name and title for each category you want included in the list of category pages.
9
+
10
+ Note: title and category are case sensitive!
@@ -0,0 +1,10 @@
1
+ ---
2
+ layout: category-page
3
+ title: jekyll
4
+ ---
5
+
6
+ This file is only used to initiate the compilation of a category page for the category shown as title.
7
+
8
+ Duplicate this file with a different name and title for each category you want included in the list of category pages.
9
+
10
+ Note: title and category are case sensitive!
@@ -0,0 +1,10 @@
1
+ ---
2
+ layout: category-page
3
+ title: update
4
+ ---
5
+
6
+ This file is only used to initiate the compilation of a category page for the category shown as title.
7
+
8
+ Duplicate this file with a different name and title for each category you want included in the list of category pages.
9
+
10
+ Note: title and category are case sensitive!
@@ -0,0 +1,15 @@
1
+ ---
2
+ layout: page
3
+ title: "Categories in classic"
4
+ date: 2016-11-04
5
+ menuInclude: yes
6
+ menuTitle: "About Categories"
7
+ subMenuFrom: Classic
8
+ menuIndex: 3
9
+ description: A description can be up to 156 characters long...
10
+ # end of description at 156 characters ----------| (last 3 chars will be replaced by '...' on overflow)
11
+ ---
12
+
13
+ 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.
14
+
15
+ The html content of that page will be ignored. An example can be seen in the `pages/categories/classic.md` file.
@@ -0,0 +1,12 @@
1
+ ---
2
+ layout: page
3
+ title: "The Classic Theme"
4
+ date: 2016-11-04
5
+ menuInclude: yes
6
+ menuTitle: Classic
7
+ menuIndex: 2
8
+ description: A description can be up to 156 characters long...
9
+ # end of description at 156 characters ----------| (last 3 chars will be replaced by '...' on overflow)
10
+ ---
11
+
12
+ The sub-pages contain some information about the "Classic-Jekyll-Theme", or "classic" in short.
@@ -0,0 +1,15 @@
1
+ ---
2
+ layout: page
3
+ title: "Known problems"
4
+ date: 2016-11-05
5
+ menuInclude: yes
6
+ menuTitle: "Known problems"
7
+ subMenuFrom: Classic
8
+ menuIndex: 4
9
+ description: A description can be up to 156 characters long...
10
+ # end of description at 156 characters ----------| (last 3 chars will be replaced by '...' on overflow)
11
+ ---
12
+
13
+ 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)
14
+
15
+ It seems unlikely that this will ever be of real concern, so for the time being...
@@ -0,0 +1,26 @@
1
+ ---
2
+ layout: page
3
+ title: "Pages in classic"
4
+ date: 2016-11-04
5
+ menuInclude: yes
6
+ menuTitle: "About Pages"
7
+ subMenuFrom: Classic
8
+ menuIndex: 2
9
+ description: A description can be up to 156 characters long...
10
+ # end of description at 156 characters ----------| (last 3 chars will be replaced by '...' on overflow)
11
+ ---
12
+
13
+ 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.
14
+
15
+ - `menuInclude`: A page will only be included in the menu if set to `yes`.
16
+ - `menuTitle`: This will be the title of the menu item, or sub menu item that links to the post.
17
+ - `menuIndex`: A number that is used to sort the menu and sub menu sequence. For the menu, higher numbers go to the right of lower numbers. For sub menu items the higher numbers go below the lower numbers.
18
+ - `subMenuFrom`: The page will be linked from a submenu item below a menu item with this title.
19
+
20
+ There can be three different kinds of menu/submenu's:
21
+
22
+ 1. A menu without submenu's. This is a direct link to a page. There will be no dropdown of submenu's. To create a navigation item without submenu's leave the `subMenuFrom` tag empty. See for example the "contact" menu item above.
23
+ 2. A menu with submenu items but without a link from the menu item to a page. This happens if a page is included with a `subMenuFrom` tag value present, but where there is no page with a `menuTitle` of the same value. An example is the "Other" menu item above.
24
+ 3. A menu item that links to a page and has submenu items that link to other pages. This happens when there are at least two pages, with one page containing the `menuTitle` value of the `subMenuFrom` value from the other. While this works fine it should be warned against from a user's perspective. When the website is seen in the 'narrow' layout the tap of a menu item will have different results for a menu with subitems as compared to a menu without subitems. This could be confusing towards new visitors.
25
+
26
+ Submenu's only go one level deep. If deeper nesting is necessary, send me a mail at: rien@balancingrock.nl
@@ -0,0 +1,20 @@
1
+ ---
2
+ layout: page
3
+ title: "Posts in classic"
4
+ date: 2016-11-04
5
+ menuInclude: yes
6
+ menuTitle: "About Posts"
7
+ subMenuFrom: Classic
8
+ menuIndex: 1
9
+ description: A description can be up to 156 characters long...
10
+ # end of description at 156 characters ----------| (last 3 chars will be replaced by '...' on overflow)
11
+ ---
12
+
13
+ Posting in classic is identical to standard jekyll.
14
+
15
+ The home page is a little different in the sense that it will show the complete 5 most recent posts. It also has a widget in the left column that shows links to the 10 most recent posts.
16
+
17
+ In `_config.yml` there are two parameters that control these numbers:
18
+
19
+ - `number-of-recent-posts-in-widget`: For the number of most recent posts in the widget.
20
+ - `number-of-posts-on-home-page`: For the number of most recent posts on the home page.
@@ -0,0 +1,13 @@
1
+ ---
2
+ layout: page
3
+ title: Contact
4
+ menuInclude: true
5
+ menuTitle: Contact
6
+ menuIndex: 99
7
+ description: Contact information for this site.
8
+ # end of description at 156 characters ----------| (last 3 chars will be replaced by '...' on overflow)
9
+ ---
10
+
11
+ Publish your contact information on this page.
12
+
13
+ Edit this content in `pages/contact/contact.md`.
@@ -0,0 +1,7 @@
1
+ ---
2
+ layout: default
3
+ title: Cookie policy
4
+ description: Cookie policy information
5
+ ---
6
+
7
+ In compliance with EU law we inform you that this website uses cookies to etc etc.
@@ -0,0 +1,14 @@
1
+ ---
2
+ layout: page
3
+ title: "An example page"
4
+ date: 2016-10-31
5
+ menuInclude: yes
6
+ subMenuFrom: Other
7
+ menuTitle: The menu title
8
+ menuIndex: 1
9
+ description: A description can be up to 156 characters long...
10
+ # end of description at 156 characters ----------| (last 3 chars will be replaced by '...' on overflow)
11
+ ---
12
+
13
+ Example content.
14
+ This theme can be configured in the file `classic-jekyll-theme.scss` in the `_sass` directory. The `assets/main.scss` file is not used.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: classic-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rien
@@ -81,6 +81,7 @@ extra_rdoc_files: []
81
81
  files:
82
82
  - LICENSE.txt
83
83
  - README.md
84
+ - _config.yml
84
85
  - _includes/disqus_comments.html
85
86
  - _includes/footer.html
86
87
  - _includes/google-analytics.html
@@ -116,6 +117,19 @@ files:
116
117
  - assets/img/wide.png
117
118
  - assets/js/cookieconsent.min.js
118
119
  - assets/main.scss
120
+ - pages/about/about.md
121
+ - pages/categories/classic.md
122
+ - pages/categories/example.md
123
+ - pages/categories/jekyll.md
124
+ - pages/categories/update.md
125
+ - pages/classic/categories.md
126
+ - pages/classic/classic.md
127
+ - pages/classic/known-problems.md
128
+ - pages/classic/pages.md
129
+ - pages/classic/posts.md
130
+ - pages/contact/contact.md
131
+ - pages/cookie-consent/cookie-consent.md
132
+ - pages/other/example-page.md
119
133
  homepage: https://rubygems.org/gems/classic-jekyll-theme
120
134
  licenses:
121
135
  - MIT