sustain4-theme 1.6.0 → 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +24 -5
- data/_includes/footer.html +1 -1
- data/_includes/header.html +3 -6
- data/_includes/projects.html +7 -7
- data/_includes/social.html +5 -10
- data/_layouts/default.html +1 -1
- metadata +17 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11f9b69f86637b23db8d55bcd98b6cd4d1a47a673543ac7de7cfbc8745e1c34b
|
4
|
+
data.tar.gz: 7c69455ae589a303ff65dbd1d67e16f3a0151552ac84be0f4bf19fcb9558e49b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f88aba73dcd9ab1a22329875ecd5a1f91862ca4d49696a6050e369e951e5b50b4cfd296171e719858156712e2563c9a08452b64204efb2afa65cbe1cd41002ab
|
7
|
+
data.tar.gz: f3d644ae4db556e41bc5f190685d7dd3fdb3c8ad10bb0c14f3327a65dcd638b285c879ea9f59a37fa53731a11783733b267a5c6ff5bf883b079b8b636e64d0cb
|
data/README.md
CHANGED
@@ -5,20 +5,22 @@
|
|
5
5
|
[![Ruby](https://img.shields.io/badge/ruby-2.4.2-blue.svg?style=flat)](http://travis-ci.org/jekyller/sustain)
|
6
6
|
[![Jekyll](https://img.shields.io/badge/jekyll-3.6.2-blue.svg?style=flat)](http://travis-ci.org/jekyller/sustain)
|
7
7
|
|
8
|
-
Personal blog built with [Bootstrap](http://getbootstrap.com/), [SASS](https://sass-lang.com), powered by [Jekyll](http://jekyllrb.com/) and freely
|
9
|
-
hosted in [Github pages](https://pages.github.com/).
|
8
|
+
Personal blog built with [Bootstrap](http://getbootstrap.com/), [SASS](https://sass-lang.com), [Font Awesome](https://www.fontawesome.com), powered by [Jekyll](http://jekyllrb.com/) and freely hosted in [Github pages](https://pages.github.com/).
|
10
9
|
|
11
10
|
This version is a fork of [Sustain](https://github.com/jekyller/sustain) but features a number of improvements:
|
12
11
|
1. Upgrade from Bootstrap 3 to Bootstrap 4
|
12
|
+
1. Upgrade Font Awesome to version 5.6.x
|
13
13
|
2. Uses SCSS instead of CSS
|
14
14
|
3. Implements a best practice directory hierarchy and filename convention outlined by [Ben Balter](http://ben.balter.com/jekyll-style-guide/)
|
15
15
|
|
16
16
|
|
17
|
+
|
17
18
|
## View the live demo
|
18
19
|
|
19
20
|
[Sustain4 Live Demo](https://johnpitchko.github.io/sustain4)
|
20
21
|
|
21
22
|
|
23
|
+
|
22
24
|
## Screenshots
|
23
25
|
|
24
26
|
**Home page**
|
@@ -34,15 +36,15 @@ This version is a fork of [Sustain](https://github.com/jekyller/sustain) but fea
|
|
34
36
|
![project page](https://raw.githubusercontent.com/johnpitchko/sustain4/gh-pages/assets/images/screen4.png)
|
35
37
|
|
36
38
|
|
39
|
+
|
37
40
|
## How to use it
|
38
41
|
|
39
42
|
Simply clone/fork this repository, and then run `jekyll serve` inside the directory.
|
40
43
|
Edit the site attributes in *_config.yml* and edit the various entries in *_includes/* and *_posts/*.
|
41
44
|
|
42
|
-
### Navbar
|
43
|
-
|
44
|
-
Items in the navbar are defined in the *_data/navbar.yml* file. See this file for more details of the basic syntax. Users of the theme can dynamically add items to the navbar without having to edit any HTML. **Note** all HREFs/URLs require a leading `/`.
|
45
|
+
### Navbar/menu
|
45
46
|
|
47
|
+
This theme uses the [jekyll-menus](https://github.com/forestryio/jekyll-menus/) plugin to generate the navbar. Items and sub-items can be added to the navbar either through the `_data/menus.yml` file or in the Front Matter on specific pages. Refer to the documentation for the plugin for more details.
|
46
48
|
|
47
49
|
## Issues and contributing
|
48
50
|
|
@@ -50,6 +52,21 @@ I have tested this install with Ruby v2.5.1 (Mac OS RVM) and Jekyll v3.8.5ru. If
|
|
50
52
|
|
51
53
|
Feel free pull-request your patches and fixes.
|
52
54
|
|
55
|
+
## Build and publish the gem
|
56
|
+
|
57
|
+
This is a note so I remember the steps to build and publish (and sometimes yank) a gem.
|
58
|
+
|
59
|
+
#### To build
|
60
|
+
|
61
|
+
1. Update the .gemspec and increment the version number.
|
62
|
+
1. Run command `gem build sustain4-theme.gemspec`
|
63
|
+
|
64
|
+
#### To publish
|
65
|
+
|
66
|
+
`gem push sustain4-theme-*.gem`
|
67
|
+
|
68
|
+
|
69
|
+
|
53
70
|
#### Contributors
|
54
71
|
|
55
72
|
[John Pitchko](https://github.com/johnpitchko), December 2018
|
@@ -59,11 +76,13 @@ Feel free pull-request your patches and fixes.
|
|
59
76
|
[Fábio Madeira](https://github.com/biomadeira) (original author), October 2015
|
60
77
|
|
61
78
|
|
79
|
+
|
62
80
|
## Thanks
|
63
81
|
|
64
82
|
Profile picture from [pexels](https://www.pexels.com/photo/portrait-black-african-ethnicity-person-9494/).
|
65
83
|
|
66
84
|
|
85
|
+
|
67
86
|
## Copyright & License
|
68
87
|
|
69
88
|
Copyright (C) 2015-2018 - Released under the MIT License.
|
data/_includes/footer.html
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
<footer>
|
2
2
|
<div id="footer">
|
3
3
|
<div class="container">
|
4
|
-
<p class="text-muted">© All rights reserved. Powered by <a href="https://jekyllrb.com/">Jekyll</a>, <a href="https://www.getbootstrap.com">Bootstrap</a>, <a href="https://fontawesome.com">Font Awesome</a>, and <a href="https://github.com/johnpitchko/sustain4-theme">sustain4</a></p>
|
4
|
+
<p class="text-muted">© All rights reserved. Powered by <a href="https://jekyllrb.com/">Jekyll</a>, <a href="https://www.getbootstrap.com">Bootstrap</a>, <a href="https://www.fontawesome.com">Font Awesome</a>, <a href="https://sass-lang.com">SASS</a> and <a href="https://github.com/johnpitchko/sustain4-theme">sustain4</a></p>
|
5
5
|
</div>
|
6
6
|
</div>
|
7
7
|
</footer>
|
data/_includes/header.html
CHANGED
@@ -1,14 +1,11 @@
|
|
1
|
-
{% assign navbar = site.data.navbar %}
|
2
|
-
|
3
|
-
|
4
1
|
<nav class="navbar navbar-expand-lg navbar-default">
|
5
2
|
<div class="container">
|
6
3
|
<div class="navbar-header">
|
7
|
-
<a class="navbar-brand" href="{{ site.baseurl }}/"><i class="
|
4
|
+
<a class="navbar-brand" href="{{ site.baseurl }}/"><i class="fa fa-home"></i></a>
|
8
5
|
</div>
|
9
6
|
<ul class="navbar-nav ml-auto">
|
10
|
-
{% for nav-item in navbar %}
|
11
|
-
<li class="nav-item"><a href="{{ site.baseurl }}{{ nav-item.
|
7
|
+
{% for nav-item in site.menus.navbar %}
|
8
|
+
<li class="nav-item"><a href="{{ site.baseurl }}{{ nav-item.url }}" class="nav-link text-uppercase">{{ nav-item.title }}</a></li>
|
12
9
|
{% endfor %}
|
13
10
|
</ul>
|
14
11
|
</div>
|
data/_includes/projects.html
CHANGED
@@ -2,36 +2,36 @@
|
|
2
2
|
<div class="panel panel-default">
|
3
3
|
<div class="panel-body">
|
4
4
|
<h5>
|
5
|
-
<i class="
|
5
|
+
<i class="fa fa-github"></i> <strong><a href="#">Project 1</a></strong>
|
6
6
|
- Ei viderer tacimates pro, quem assum ea nam. Veritus omnesque eam te. Et natum mucius tamquam vel,
|
7
7
|
ea dolorem volumus deterruisset nec. Graeci mentitum sea an, eu prima elaboraret est.
|
8
8
|
</h5>
|
9
9
|
<h5>
|
10
|
-
<i class="
|
10
|
+
<i class="fa fa-github"></i> <strong><a href="#">Project 2</a></strong>
|
11
11
|
- An eripuit phaedrum qui, nec facer splendide ex, vel ea assum facilisi convenire.
|
12
12
|
Te his neglegentur consectetuer.
|
13
13
|
</h5>
|
14
14
|
<h5>
|
15
|
-
<i class="
|
15
|
+
<i class="fa fa-github"></i> <strong><a href="#">Project 3</a></strong>
|
16
16
|
- An alii quot tantas eum, doming platonem persecuti mea et, vim perpetua cotidieque delicatissimi in.
|
17
17
|
</h5>
|
18
18
|
<h5>
|
19
|
-
<i class="
|
19
|
+
<i class="fa fa-globe"></i> <strong><a href="#">Project 4</a></strong>
|
20
20
|
- Vim an case vidit sententiae, est at euismod laboramus efficiantur. Ei sit brute lorem,
|
21
21
|
ea eam timeam viderer aliquid, cu integre omittam moderatius quo.
|
22
22
|
</h5>
|
23
23
|
<h5>
|
24
|
-
<i class="
|
24
|
+
<i class="fa fa-globe"></i> <strong><a href="#">Project 5</a></strong>
|
25
25
|
- Dicta causae meliore ex vel, in vix erant integre petentium. Vix ei nisl scripta recusabo,
|
26
26
|
eam doming blandit facilisis.
|
27
27
|
</h5>
|
28
28
|
<h5>
|
29
|
-
<i class="
|
29
|
+
<i class="fa fa-cog"></i> <strong><a href="#">Project 6</a></strong>
|
30
30
|
- Inermis recusabo elaboraret mea et, dicat neglegentur vim te. Nec et sanctus scriptorem,
|
31
31
|
usu ex sapientem gubergren. Tamquam admodum ei usu.
|
32
32
|
</h5>
|
33
33
|
<h5>
|
34
|
-
<i class="
|
34
|
+
<i class="fa fa-cog"></i> <strong><a href="#">Project 7</a></strong>
|
35
35
|
- Essent putant indoctum sed in, reprimique persequeris neglegentur te quo. Nam rebum
|
36
36
|
tractatos partiendo at, debet ubique oporteat ut his.
|
37
37
|
</h5>
|
data/_includes/social.html
CHANGED
@@ -1,25 +1,20 @@
|
|
1
1
|
<div class="social">
|
2
2
|
<h4>
|
3
3
|
{% if site.github %}
|
4
|
-
<a href="http://github.com/{{ site.github }}"><i class="
|
4
|
+
<a href="http://github.com/{{ site.github }}"><i class="fa fa-github"></i></a>
|
5
5
|
{% endif %}
|
6
6
|
{% if site.email %}
|
7
|
-
<a href="mailto:{{ site.email}}"><i class="
|
7
|
+
<a href="mailto:{{ site.email}}"><i class="fa fa-envelope"></i></a>
|
8
8
|
{% endif %}
|
9
9
|
|
10
10
|
{% if site.twitter %}
|
11
|
-
<a href="http://twitter.com/{{ site.twitter }}"><i class="
|
11
|
+
<a href="http://twitter.com/{{ site.twitter }}"><i class="fa fa-twitter"></i></a>
|
12
12
|
{% endif %}
|
13
13
|
{% if site.linkedin %}
|
14
|
-
<a href="http://linkedin.com/in/{{ site.linkedin }}"><i class="
|
14
|
+
<a href="http://linkedin.com/in/{{ site.linkedin }}"><i class="fa fa-linkedin"></i></a>
|
15
15
|
{% endif %}
|
16
16
|
{% if site.stackoverflow %}
|
17
|
-
<a href="http://stackoverflow.com/{{ site.stackoverflow }}"><i class="
|
17
|
+
<a href="http://stackoverflow.com/{{ site.stackoverflow }}"><i class="fa fa-stack-overflow"></i></a>
|
18
18
|
{% endif %}
|
19
|
-
|
20
|
-
{% if site.goodreads %}
|
21
|
-
<a href="https://www.goodreads.com/user/show/{{ site.goodreads }}"><i class="fab fa-goodreads"></i></a>
|
22
|
-
{% endif %}
|
23
|
-
|
24
19
|
</h4>
|
25
20
|
</div>
|
data/_layouts/default.html
CHANGED
@@ -27,7 +27,7 @@
|
|
27
27
|
<!-- Custom styles for this template -->
|
28
28
|
<link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/assets/css/style.css" />
|
29
29
|
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,400,200bold,400old" />
|
30
|
-
<link rel="stylesheet" href="https://
|
30
|
+
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css" />
|
31
31
|
|
32
32
|
<!-- Google Analytics -->
|
33
33
|
{% include analytics.html %}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sustain4-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Pitchko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.8'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: jekyll-menus
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.6'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0.6'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: bundler
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -104,8 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
118
|
- !ruby/object:Gem::Version
|
105
119
|
version: '0'
|
106
120
|
requirements: []
|
107
|
-
|
108
|
-
rubygems_version: 2.7.6
|
121
|
+
rubygems_version: 3.0.3
|
109
122
|
signing_key:
|
110
123
|
specification_version: 4
|
111
124
|
summary: Personal blog built with Bootstrap, SASS, powered by Jekyll and freely hosted
|