classic-jekyll-theme 2.4.1 → 2.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +2 -1
- data/_sass/classic-jekyll-theme.scss +14 -7
- data/_sass/classic/_custom.scss +1 -1
- data/_sass/classic/_menubar.scss +23 -8
- data/pages/download/download.md +10 -0
- data/pages/jekyll/04-cron-job.md +25 -33
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: bb4a854fbe0e079411c79539e8c60dfa1c600ba3767979e9b49a0e8222f4d288
|
4
|
+
data.tar.gz: 8264b73c456f6b6fde8fc6122c20ee6f3f64ee23c1f91e5729a4c4a76a4aa75c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78dbb6812b6425bdeafabe174f64aa087d30d6e01637aeb29a4bb55c0fc9cfba308a45ce37a485a0c92c518e7f1eb019c7c220cc20303e8124ddb70852eae107
|
7
|
+
data.tar.gz: 92b359d395a4f465b4ba335aa2a91b205a1f115afcaf262e0a4be2d598d98b155dfc810397294acf748e323464b2d4154f505758872bf4bc6e1c8712e7aff200
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Classic-Jekyll-Theme v2.4.
|
1
|
+
# Classic-Jekyll-Theme v2.4.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 (dropdown), (up to) three columns and a footer. The design is fully responsive for three different screen widths: widest, medium and narrow. It is probably best shown in an example:
|
4
4
|
|
@@ -87,6 +87,7 @@ Please see [http://balancingrock.github.io/classic-jekyll-theme](http://balancin
|
|
87
87
|
- [Release 2.2.0 (2018-02-02)](http://balancingrock.github.io/classic-jekyll-theme/classic/2018/02/02/release-2-2-0.html)
|
88
88
|
- [Release 2.3.0 (2018-02-05)](http://balancingrock.github.io/classic-jekyll-theme/classic/2018/02/05/release-2-3-0.html)
|
89
89
|
- [Release 2.4.0 (2019-01-15)](http://balancingrock.github.io/classic-jekyll-theme//2019/01/15/release-2-4-0.html)
|
90
|
+
- [Release 2.4.2 (2019-08-16)](http://balancingrock.github.io/classic-jekyll-theme//2019/08/16/release-2-4-2.html)
|
90
91
|
|
91
92
|
## Suport & Feedback
|
92
93
|
|
@@ -576,17 +576,24 @@ $menubar-subsubitem-font-widest: $menubar-subitem-font-widest;
|
|
576
576
|
$menubar-item-color-narrow: $theme-color;
|
577
577
|
$menubar-item-color-medium: $theme-color;
|
578
578
|
$menubar-item-color-widest: $theme-color;
|
579
|
-
$menubar-item-hover-
|
580
|
-
$menubar-item-hover-
|
581
|
-
$menubar-item-hover-
|
579
|
+
$menubar-item-color-hover-narrow: black;
|
580
|
+
$menubar-item-color-hover-medium: black;
|
581
|
+
$menubar-item-color-hover-widest: black;
|
582
|
+
$menubar-item-color-selected-narrow: $theme-color;
|
583
|
+
$menubar-item-color-selected-medium: $theme-color;
|
584
|
+
$menubar-item-color-selected-widest: $theme-color;
|
582
585
|
$menubar-subitem-color-medium: $theme-color;
|
583
586
|
$menubar-subitem-color-widest: $theme-color;
|
584
|
-
$menubar-subitem-hover-
|
585
|
-
$menubar-subitem-hover-
|
587
|
+
$menubar-subitem-color-hover-medium: black;
|
588
|
+
$menubar-subitem-color-hover-widest: black;
|
589
|
+
$menubar-subitem-color-selected-medium: $theme-color;
|
590
|
+
$menubar-subitem-color-selected-widest: $theme-color;
|
586
591
|
$menubar-subsubitem-color-medium: $menubar-subitem-color-medium;
|
587
592
|
$menubar-subsubitem-color-widest: $menubar-subitem-color-widest;
|
588
|
-
$menubar-subsubitem-hover-
|
589
|
-
$menubar-subsubitem-hover-
|
593
|
+
$menubar-subsubitem-color-hover-medium: $menubar-subitem-color-hover-medium;
|
594
|
+
$menubar-subsubitem-color-hover-widest: $menubar-subitem-color-hover-widest;
|
595
|
+
$menubar-subsubitem-color-selected-medium: $menubar-subitem-color-selected-medium;
|
596
|
+
$menubar-subsubitem-color-selected-widest: $menubar-subitem-color-selected-widest;
|
590
597
|
|
591
598
|
// The background & hover background & active-page background to be used for an entry
|
592
599
|
// The selected background is used when an item is visible and the page that is linked to is visible.
|
data/_sass/classic/_custom.scss
CHANGED
data/_sass/classic/_menubar.scss
CHANGED
@@ -102,7 +102,7 @@
|
|
102
102
|
p { color: $menubar-item-color-narrow; }
|
103
103
|
|
104
104
|
// Hover effect
|
105
|
-
&:hover { p { color: $menubar-item-hover-
|
105
|
+
&:hover { p { color: $menubar-item-color-hover-narrow; } }
|
106
106
|
}
|
107
107
|
}
|
108
108
|
|
@@ -199,7 +199,10 @@
|
|
199
199
|
}
|
200
200
|
}
|
201
201
|
|
202
|
-
.isActiveSelection {
|
202
|
+
.isActiveSelection {
|
203
|
+
background: $menubar-item-background-selected-narrow;
|
204
|
+
.title .text p { color: $menubar-item-color-selected-narrow }
|
205
|
+
}
|
203
206
|
}
|
204
207
|
|
205
208
|
@include medium-and-widest-layout {
|
@@ -329,8 +332,8 @@
|
|
329
332
|
|
330
333
|
p {
|
331
334
|
// Change font color
|
332
|
-
@include medium-layout { color: $menubar-item-hover-
|
333
|
-
@include widest-layout { color: $menubar-item-hover-
|
335
|
+
@include medium-layout { color: $menubar-item-color-hover-medium; }
|
336
|
+
@include widest-layout { color: $menubar-item-color-hover-widest; }
|
334
337
|
}
|
335
338
|
|
336
339
|
// Change item background
|
@@ -413,8 +416,8 @@
|
|
413
416
|
.sub-dropdown { display: flex; }
|
414
417
|
|
415
418
|
p {
|
416
|
-
@include medium-layout { color: $menubar-subitem-hover-
|
417
|
-
@include widest-layout { color: $menubar-subitem-hover-
|
419
|
+
@include medium-layout { color: $menubar-subitem-color-hover-medium; }
|
420
|
+
@include widest-layout { color: $menubar-subitem-color-hover-widest; }
|
418
421
|
}
|
419
422
|
|
420
423
|
@include medium-layout { background: $menubar-subitem-background-hover-medium; }
|
@@ -472,8 +475,8 @@
|
|
472
475
|
// Hover effect
|
473
476
|
&:hover {
|
474
477
|
p {
|
475
|
-
@include medium-layout { color: $menubar-subsubitem-hover-
|
476
|
-
@include widest-layout { color: $menubar-subsubitem-hover-
|
478
|
+
@include medium-layout { color: $menubar-subsubitem-color-hover-medium; }
|
479
|
+
@include widest-layout { color: $menubar-subsubitem-color-hover-widest; }
|
477
480
|
}
|
478
481
|
|
479
482
|
@include medium-layout { background: $menubar-subsubitem-background-hover-medium; }
|
@@ -492,6 +495,10 @@
|
|
492
495
|
.isActiveSelection {
|
493
496
|
@include medium-layout { background: $menubar-subsubitem-background-selected-medium; }
|
494
497
|
@include widest-layout { background: $menubar-subsubitem-background-selected-widest; }
|
498
|
+
p {
|
499
|
+
@include medium-layout { color: $menubar-subsubitem-color-selected-medium; }
|
500
|
+
@include widest-layout { color: $menubar-subsubitem-color-selected-widest; }
|
501
|
+
}
|
495
502
|
}
|
496
503
|
}
|
497
504
|
}
|
@@ -501,6 +508,10 @@
|
|
501
508
|
.isActiveSelection {
|
502
509
|
@include medium-layout { background: $menubar-subitem-background-selected-medium; }
|
503
510
|
@include widest-layout { background: $menubar-subitem-background-selected-widest; }
|
511
|
+
p {
|
512
|
+
@include medium-layout { color: $menubar-subitem-color-selected-medium; }
|
513
|
+
@include widest-layout { color: $menubar-subitem-color-selected-widest; }
|
514
|
+
}
|
504
515
|
}
|
505
516
|
}
|
506
517
|
}
|
@@ -510,6 +521,10 @@
|
|
510
521
|
.isActiveSelection {
|
511
522
|
@include medium-layout { background: $menubar-item-background-selected-medium; }
|
512
523
|
@include widest-layout { background: $menubar-item-background-selected-widest; }
|
524
|
+
p {
|
525
|
+
@include medium-layout { color: $menubar-item-color-selected-medium; }
|
526
|
+
@include widest-layout { color: $menubar-item-color-selected-widest; }
|
527
|
+
}
|
513
528
|
}
|
514
529
|
}
|
515
530
|
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
title: Download
|
4
|
+
menuInclude: yes
|
5
|
+
menuLink: yes
|
6
|
+
menuTopTitle: Download
|
7
|
+
menuTopIndex: 1000
|
8
|
+
excerpt: Where to get Classic Jekyll Theme.
|
9
|
+
---
|
10
|
+
You can get the Classic-Jekyll-Theme at either [rubygems.org](https://rubygems.org/gems/classic-jekyll-theme) or from [github](https://github.com/Balancingrock/classic-jekyll-theme).
|
data/pages/jekyll/04-cron-job.md
CHANGED
@@ -5,8 +5,8 @@ date: 2018-02-05
|
|
5
5
|
menuInclude: yes
|
6
6
|
menuTopTitle: Jekyll
|
7
7
|
menuSubs:
|
8
|
-
- title:
|
9
|
-
index:
|
8
|
+
- title: Create website from git periodically and automatically
|
9
|
+
index: 4
|
10
10
|
tertiary-column: none
|
11
11
|
excerpt: How to set up the daily creation of a website with jekyll and git...
|
12
12
|
---
|
@@ -65,9 +65,7 @@ Any location will work, this example uses: `/Users/rien/Documents/Websites/mysit
|
|
65
65
|
|
66
66
|
Goto the `/Websites` directory and create the git repository that will be used by the script.
|
67
67
|
|
68
|
-
~~~~~
|
69
68
|
git clone <<path-to-repo>>
|
70
|
-
~~~~~
|
71
69
|
|
72
70
|
The <<path-to-repo>> should be the path to the git-server repository and end in 'mysite' or 'mysite.git'
|
73
71
|
|
@@ -77,7 +75,6 @@ This command also creates the directory `/mysite`
|
|
77
75
|
|
78
76
|
This script is located at the user level (in this case: `Users/rien`) and lets call it `mysite-daily-update.script`.
|
79
77
|
|
80
|
-
~~~~~
|
81
78
|
#! /bin/bash
|
82
79
|
echo "$(date) start"
|
83
80
|
cd /Users/rien/Documents/Websites/mysite
|
@@ -89,7 +86,6 @@ This script is located at the user level (in this case: `Users/rien`) and lets c
|
|
89
86
|
echo "sync site"
|
90
87
|
rsync -av _site/ /Library/Server/Web/Data/Sites/mysite
|
91
88
|
echo "$(date) ready"
|
92
|
-
~~~~~
|
93
89
|
|
94
90
|
What happens:
|
95
91
|
|
@@ -116,29 +112,29 @@ In the directory `~/Library/LaunchAgents` create a file with the name `com.mysit
|
|
116
112
|
|
117
113
|
This file should contain the following:
|
118
114
|
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
115
|
+
```xml
|
116
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
117
|
+
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
118
|
+
<plist version="1.0">
|
119
|
+
<dict>
|
120
|
+
<key>Label</key>
|
121
|
+
<string>com.mysite.daily-update</string>
|
122
|
+
<key>StandardOutPath</key>
|
123
|
+
<string>/Users/rien/mysite-daily-update.log</string>
|
124
|
+
<key>StandardErrorPath</key>
|
125
|
+
<string>/Users/rien/mysite-daily-update.error.log</string>
|
126
|
+
<key>Program</key>
|
127
|
+
<string>/Users/rien/mysite-daily-update.script</string>
|
128
|
+
<key>StartCalendarInterval</key>
|
129
|
+
<dict>
|
130
|
+
<key>Hour</key>
|
131
|
+
<integer>00</integer>
|
132
|
+
<key>Minute</key>
|
133
|
+
<integer>01</integer>
|
134
|
+
</dict>
|
135
|
+
</dict>
|
136
|
+
</plist>
|
137
|
+
```
|
142
138
|
|
143
139
|
One thing to notice is that this specification also tells the OS to create an error and a log file. These files are written to the users root directory and can be examined for error messages.
|
144
140
|
|
@@ -150,15 +146,11 @@ Btw, a good resource for the capabilities and configuration of the launchd can b
|
|
150
146
|
|
151
147
|
The job will be loaded automatically at startup. But right now you will need to load the job by hand:
|
152
148
|
|
153
|
-
~~~~~
|
154
149
|
launchctl load ~/Library/LaunchAgents/com.mysite.plist
|
155
|
-
~~~~~
|
156
150
|
|
157
151
|
Most likely you will also want to test the script, that can be done with:
|
158
152
|
|
159
|
-
~~~~~
|
160
153
|
launchctl start com.mysite.daily-update
|
161
|
-
~~~~~
|
162
154
|
|
163
155
|
The first couple of times, make sure to check for an error log in the `StandardErrorPath`. (Which in this example is the user home directory)
|
164
156
|
|
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: 2.4.
|
4
|
+
version: 2.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rien
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -70,28 +70,28 @@ dependencies:
|
|
70
70
|
requirements:
|
71
71
|
- - "~>"
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: '
|
73
|
+
version: '2.0'
|
74
74
|
type: :development
|
75
75
|
prerelease: false
|
76
76
|
version_requirements: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
78
|
- - "~>"
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version: '
|
80
|
+
version: '2.0'
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: rake
|
83
83
|
requirement: !ruby/object:Gem::Requirement
|
84
84
|
requirements:
|
85
85
|
- - "~>"
|
86
86
|
- !ruby/object:Gem::Version
|
87
|
-
version: '
|
87
|
+
version: '12.0'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
90
|
version_requirements: !ruby/object:Gem::Requirement
|
91
91
|
requirements:
|
92
92
|
- - "~>"
|
93
93
|
- !ruby/object:Gem::Version
|
94
|
-
version: '
|
94
|
+
version: '12.0'
|
95
95
|
description: A responsive 1, 2 or 3 column theme for wide, medium and narrow with
|
96
96
|
drop(down) menu. The three columns are reordered as necessary to match the display
|
97
97
|
width. Includes a menu bar generator, a category page generator, a default cookie
|
@@ -199,6 +199,7 @@ files:
|
|
199
199
|
- pages/classic/09-problems.md
|
200
200
|
- pages/contact/contact.md
|
201
201
|
- pages/cookie-consent/cookie-consent.md
|
202
|
+
- pages/download/download.md
|
202
203
|
- pages/jekyll/01-jekyll.md
|
203
204
|
- pages/jekyll/02-speed.md
|
204
205
|
- pages/jekyll/03-ruby.md
|
@@ -242,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
242
243
|
version: '0'
|
243
244
|
requirements: []
|
244
245
|
rubyforge_project:
|
245
|
-
rubygems_version: 2.
|
246
|
+
rubygems_version: 2.7.3
|
246
247
|
signing_key:
|
247
248
|
specification_version: 4
|
248
249
|
summary: A responsive 1, 2 or 3 column theme for wide, medium and narrow displays
|