jekyll-theme-open-project 1.1.21 → 1.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/_includes/post-card.html +6 -7
- data/_sass/open-project-base.scss +11 -0
- data/_sass/open-project-mixins.scss +0 -1
- data/assets/js/opf.js +15 -12
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 7b32212dcad5f501fa4f6ebf677abc5b1617f265
|
|
4
|
+
data.tar.gz: d07256ea4108273acd9671565d008d585dc4e8fd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 20b7a7c6054966854a1a65cd67fc5803dc1ef6c88eb135bcf499e296a82e5d93f423cbb5b009cccffb92f4c5df61e5893340567d15cfe7a9a2b3e31d8d5a9a58
|
|
7
|
+
data.tar.gz: a833f8ef9b4fa07d493bbfac3e518da679b8a08198a7aa7be44a3358e51f4e9a6c68d08b232e591a0ca018d23c8d244e0af0f82afac5caf1a7c6dd96236ad676
|
data/_includes/post-card.html
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
+
{% if include.post.parent_project %}
|
|
2
|
+
{% capture href %}{{ include.post.parent_project.home_url }}blog/{{ include.post.date | date: "%m-%d-%Y" }}/{{ include.post.slug }}/{% endcapture %}
|
|
3
|
+
{% else %}
|
|
4
|
+
{% capture href %}{{ include.post.url }}{% endcapture %}
|
|
5
|
+
{% endif %}
|
|
1
6
|
<a class="item {% if include.post.parent_project %}has-parent-project{% endif %}"
|
|
2
|
-
href="
|
|
3
|
-
{% if include.post.parent_project %}
|
|
4
|
-
{{ include.post.parent_project.home_url }}blog/{{ include.post.date | date: "%m-%d-%Y" }}/{{ include.post.slug }}/
|
|
5
|
-
{% else %}
|
|
6
|
-
{{ include.post.url }}
|
|
7
|
-
{% endif %}
|
|
8
|
-
" role="article">
|
|
7
|
+
href="{{ href }}" role="article">
|
|
9
8
|
|
|
10
9
|
{% if include.post.parent_project == nil and site.is_hub == true %}
|
|
11
10
|
<div class="hub-symbol">
|
|
@@ -327,6 +327,17 @@ a {
|
|
|
327
327
|
|
|
328
328
|
a {
|
|
329
329
|
border-bottom: 1px solid;
|
|
330
|
+
&[rel=external] {
|
|
331
|
+
border-bottom-style: dotted;
|
|
332
|
+
&:link, &:hover, &:focus, &:active {
|
|
333
|
+
.ico-ext {
|
|
334
|
+
font-size: 50%;
|
|
335
|
+
vertical-align: text-top;
|
|
336
|
+
position: relative;
|
|
337
|
+
left: .15em;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
}
|
|
330
341
|
}
|
|
331
342
|
|
|
332
343
|
pre {
|
data/assets/js/opf.js
CHANGED
|
@@ -28,10 +28,6 @@
|
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
var hamburgerMenu = initCollapsibleMenu(
|
|
32
|
-
document.getElementById('hamburgerButton'),
|
|
33
|
-
document.getElementById('hamburgerMenu'));
|
|
34
|
-
|
|
35
31
|
|
|
36
32
|
|
|
37
33
|
/* Collapsible header */
|
|
@@ -75,14 +71,6 @@
|
|
|
75
71
|
}
|
|
76
72
|
};
|
|
77
73
|
|
|
78
|
-
var collapsibleHeader;
|
|
79
|
-
|
|
80
|
-
if (document.querySelector('body.layout--product .documentation:not(.docs-landing)') != null) {
|
|
81
|
-
collapsibleHeader = initCollapsibleHeader(
|
|
82
|
-
document.querySelector('.underlay.header'),
|
|
83
|
-
hamburgerMenu);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
74
|
|
|
87
75
|
|
|
88
76
|
/* Collapsible docs nav */
|
|
@@ -205,6 +193,21 @@
|
|
|
205
193
|
}
|
|
206
194
|
};
|
|
207
195
|
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
// Initializing stuff
|
|
199
|
+
var hamburgerMenu = initCollapsibleMenu(
|
|
200
|
+
document.getElementById('hamburgerButton'),
|
|
201
|
+
document.getElementById('hamburgerMenu'));
|
|
202
|
+
|
|
203
|
+
var collapsibleHeader;
|
|
204
|
+
|
|
205
|
+
if (document.querySelector('body.layout--product .documentation:not(.docs-landing)') != null) {
|
|
206
|
+
collapsibleHeader = initCollapsibleHeader(
|
|
207
|
+
document.querySelector('.underlay.header'),
|
|
208
|
+
hamburgerMenu);
|
|
209
|
+
}
|
|
210
|
+
|
|
208
211
|
var docsRoot = body.querySelector('body.layout--product .documentation:not(.docs-landing)');
|
|
209
212
|
var collapsibleDocsNav;
|
|
210
213
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-theme-open-project
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.22
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-11-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -72,14 +72,14 @@ dependencies:
|
|
|
72
72
|
requirements:
|
|
73
73
|
- - '='
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: 1.1.
|
|
75
|
+
version: 1.1.22
|
|
76
76
|
type: :runtime
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
80
|
- - '='
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: 1.1.
|
|
82
|
+
version: 1.1.22
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
84
|
name: bundler
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -226,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
226
226
|
version: '0'
|
|
227
227
|
requirements: []
|
|
228
228
|
rubyforge_project:
|
|
229
|
-
rubygems_version: 2.
|
|
229
|
+
rubygems_version: 2.6.14.1
|
|
230
230
|
signing_key:
|
|
231
231
|
specification_version: 4
|
|
232
232
|
summary: Open Project Jekyll theme
|