jekyll-theme-open-project 1.0.3 → 1.0.4
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/README.md +4 -0
- data/_includes/index-page-item-filter.html +8 -7
- data/_layouts/software-index.html +3 -1
- data/_layouts/spec-index.html +3 -1
- data/_sass/jekyll-theme-open-project.scss +2 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: d9e274eca262977332c7d898abb61e988a68bbef5305b3a668d0188bb3a4027f
|
|
4
|
+
data.tar.gz: bb68d551a7142097b30b1cbbeb09dcd96213dfba0e51349147eac452777d3673
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e6963c25586105fa05660692da0183950d1ea5586f2b6f9148c0dccaf46b38a89c3ed738119fd57c392dfedb9075ac5af7d5fbbeb4cdeab1ebd3810416830430
|
|
7
|
+
data.tar.gz: 324777861f7460e65af79acaa72aabfa6256f2c3a9870c4be4b33668794625df68b3bb085292b7a00d0a219ef0ddd9128a29e6ca7ce42b96cec8bbde31728d71
|
data/README.md
CHANGED
|
@@ -241,6 +241,10 @@ site:
|
|
|
241
241
|
git_repo_url: <Git URL to standalone project site source repo>
|
|
242
242
|
home_url: <URL to standalone project site>
|
|
243
243
|
|
|
244
|
+
# Note: Avoid whitespaces and other characters that may make Jekyll
|
|
245
|
+
# percent-encode the tag in URLs. Replace " " (a regular space)
|
|
246
|
+
# with "_" (underline); underlines will be rewritten as spaces when tags
|
|
247
|
+
# are presented to site users.
|
|
244
248
|
tags: [Ruby, Python, RFC]
|
|
245
249
|
```
|
|
246
250
|
|
|
@@ -15,13 +15,14 @@
|
|
|
15
15
|
</li>
|
|
16
16
|
|
|
17
17
|
{% for tag in tags %}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
{% assign tag_human = tag | replace: "_", " " %}
|
|
19
|
+
<li>
|
|
20
|
+
{% if tag == include.tag %}
|
|
21
|
+
<span>{{ tag_human }}</span>
|
|
22
|
+
{% else %}
|
|
23
|
+
<a href="{{ include.url_tag_prefix }}{{ tag }}">{{ tag_human }}</a>
|
|
24
|
+
{% endif %}
|
|
25
|
+
</li>
|
|
25
26
|
{% endfor %}
|
|
26
27
|
</ul>
|
|
27
28
|
</nav>
|
|
@@ -6,12 +6,14 @@ layout: default
|
|
|
6
6
|
{% include index-page-item-filter.html url_tag_prefix="/software/" items=site.all_software tag=page.tag %}
|
|
7
7
|
{% endif %}
|
|
8
8
|
|
|
9
|
+
{% assign items = page.items | default: site.all_software %}
|
|
10
|
+
|
|
9
11
|
<section class="items">
|
|
10
12
|
{% if site.is_hub %}
|
|
11
13
|
{% include assets/symbol.svg %}
|
|
12
14
|
{% endif %}
|
|
13
15
|
|
|
14
|
-
{% for product in
|
|
16
|
+
{% for product in items %}
|
|
15
17
|
{% if site.is_hub %}
|
|
16
18
|
{% assign project_name = product.url | split: "/" | slice: 2 | first %}
|
|
17
19
|
{% assign project_index_path = "_projects/" | append: project_name | append: "/index.md" %}
|
data/_layouts/spec-index.html
CHANGED
|
@@ -6,12 +6,14 @@ layout: default
|
|
|
6
6
|
{% include index-page-item-filter.html url_tag_prefix="/specs/" items=site.all_specs tag=page.tag %}
|
|
7
7
|
{% endif %}
|
|
8
8
|
|
|
9
|
+
{% assign items = page.items | default: site.all_specs %}
|
|
10
|
+
|
|
9
11
|
<section class="items">
|
|
10
12
|
{% if site.is_hub %}
|
|
11
13
|
{% include assets/symbol.svg %}
|
|
12
14
|
{% endif %}
|
|
13
15
|
|
|
14
|
-
{% for spec in
|
|
16
|
+
{% for spec in items %}
|
|
15
17
|
{% if site.is_hub %}
|
|
16
18
|
{% assign project_name = spec.url | split: "/" | slice: 2 | first %}
|
|
17
19
|
{% assign project_index_path = "_projects/" | append: project_name | append: "/index.md" %}
|
|
@@ -196,6 +196,7 @@ main {
|
|
|
196
196
|
body.layout-post > & {
|
|
197
197
|
> article {
|
|
198
198
|
@extend .main-article;
|
|
199
|
+
padding-bottom: 60px;
|
|
199
200
|
|
|
200
201
|
> header > .meta {
|
|
201
202
|
@extend .post-meta-row;
|
|
@@ -473,6 +474,7 @@ body.project {
|
|
|
473
474
|
flex: 1;
|
|
474
475
|
display: flex;
|
|
475
476
|
flex-flow: row nowrap;
|
|
477
|
+
padding-bottom: 60px;
|
|
476
478
|
|
|
477
479
|
> .nav-sidebar {
|
|
478
480
|
width: 320px;
|
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.0.
|
|
4
|
+
version: 1.0.4
|
|
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-07-
|
|
11
|
+
date: 2018-07-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -219,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
219
219
|
version: '0'
|
|
220
220
|
requirements: []
|
|
221
221
|
rubyforge_project:
|
|
222
|
-
rubygems_version: 2.6
|
|
222
|
+
rubygems_version: 2.7.6
|
|
223
223
|
signing_key:
|
|
224
224
|
specification_version: 4
|
|
225
225
|
summary: Open Project Jekyll theme
|