jekyll-theme-open-project 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +33 -4
- data/_includes/home-hub.html +4 -3
- data/_includes/post-card.html +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c40140289c0ec2310cbe872577217d035ea81f4c71abec0780c2de08c8d9a2c7
|
4
|
+
data.tar.gz: c42852bd98debb6960ccad661021287e6e912f851ebd5c5e3dff685952de94ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38e10161d0f12edc3135c062711398f19455d8895a680a9419f809f768db0c5e81af14d65a8c5fbc8c34c35e4090043afc55779a821bf191b915392f783d92b1
|
7
|
+
data.tar.gz: '09a8dd8717f0def5ac3579fa3d53c97ba21d5ee212ff7dd40f57eb67e46c13d4a15ffaa56f3651b0f0fd9ce5f6237a71a8124bb1ec98eb9585378f319a7680a6'
|
data/README.md
CHANGED
@@ -628,16 +628,45 @@ need to be included in the gem, edit regexp in the gemspec.
|
|
628
628
|
|
629
629
|
### Building and releasing
|
630
630
|
|
631
|
-
|
631
|
+
#### Manual test during development
|
632
632
|
|
633
|
-
|
633
|
+
While working on a site using this Jekyll theme, you can use local theme copy,
|
634
|
+
and thus test the theme before release. The sequence would be as follows:
|
634
635
|
|
635
|
-
|
636
|
+
1. Change Gemfile to point to local theme copy.
|
637
|
+
|
638
|
+
For example, change from `gem "jekyll-theme-open-project", "~> 1.0.6"`
|
639
|
+
to `gem "jekyll-theme-open-project", :path => "../jekyll-theme-open-project"`
|
640
|
+
|
641
|
+
2. Run `bundle exec jekyll serve`.
|
642
|
+
|
643
|
+
3. Make changes to theme and reload site (it may not reload automatically).
|
644
|
+
|
645
|
+
4. Release theme — see below.
|
646
|
+
|
647
|
+
5. (To bump the site to this latest version, change Gemfile back,
|
648
|
+
bump theme dependency version to the one just released,
|
649
|
+
run `bundle --full-index` to update lockfile properly,
|
650
|
+
and your site is ready to go.)
|
651
|
+
|
652
|
+
#### Releasing
|
636
653
|
|
637
|
-
|
654
|
+
Update .gemspec file with the new version and commit the change.
|
655
|
+
|
656
|
+
Build new gem version and push it to rubygems.org with:
|
638
657
|
|
639
658
|
./develop/release
|
640
659
|
|
660
|
+
#### Testing with build script (TBD)
|
661
|
+
|
662
|
+
May not work at the moment — see #26. Please use the other test option.
|
663
|
+
|
664
|
+
To check your theme, run:
|
665
|
+
|
666
|
+
./develop/build
|
667
|
+
|
668
|
+
It’ll build Jekyll site and run some checks, like HTML markup validation.
|
669
|
+
|
641
670
|
|
642
671
|
## License
|
643
672
|
|
data/_includes/home-hub.html
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
{% assign projects = site.projects | where_exp: "item", "item.home_url != nil" %}
|
2
|
+
{% assign posts = site.posts_combined %}
|
3
|
+
{% assign num_posts = site.num_posts_combined %}
|
2
4
|
|
3
5
|
<div class="underlay top-background" role="presentation">
|
4
6
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none">
|
@@ -37,14 +39,13 @@
|
|
37
39
|
</section>
|
38
40
|
{% endif %}
|
39
41
|
|
40
|
-
{%
|
41
|
-
{% if num_featured_posts > 0 %}
|
42
|
+
{% if num_posts > 0 %}
|
42
43
|
<section class="featured-posts">
|
43
44
|
<div role="presentation" class="puny-label">Latest news</div>
|
44
45
|
<h2 class="title">From the Blog</h2>
|
45
46
|
|
46
47
|
<div class="items" role="presentation">
|
47
|
-
{% for item in
|
48
|
+
{% for item in posts limit:3 %}
|
48
49
|
{% include post-card.html post=item %}
|
49
50
|
{% endfor %}
|
50
51
|
</div>
|
data/_includes/post-card.html
CHANGED
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.7
|
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-08-
|
11
|
+
date: 2018-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|