jekyll-statuspage 1.0.0 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7480801cbab69f74776f165f275ef1bb8d49c7ec5e32c0feafabcd2742785f14
4
- data.tar.gz: 6036f114dfd84033d68697d50f95ea2b9037e1d99876c9cedecf2fee49a0af3f
3
+ metadata.gz: 2f8a7529362f3ee13e60f3e5b6759a6832c1fe7fa9255a937b7b507eeb352d4f
4
+ data.tar.gz: e153552c69d8d0b2c38cca535ed549cc4cabcbe34e9447fa054077b2709113e8
5
5
  SHA512:
6
- metadata.gz: 54fdbe6f04cd3ec4b52929639ae148ca5cf2e5cbc89aec015ce77eb240881ed8616b2720aab660ae2c56c968f5849dfd4ab55f2aa8e5c760297bf810101b4ea8
7
- data.tar.gz: b8b242027ec4d850d820c4fa0b6bb56ff0f8491fd30eb76c6e3dac29cfef581f700ac0ebaa1f39ca2d9b5851240b383d037ac67c17f3234edbc1ed0660e230f8
6
+ metadata.gz: ae3d94f5392f12b71fefd00c257130435702ed5a627d591470a27fa8bfbcc3a3fd76f632db41104f1e40b7551e867440a4b0acd2b28b2b88a2dc8326a572d44f
7
+ data.tar.gz: '068a75b52ace7709d82875373a5b9969e155de71de831b48663992b3d4201cb901684f0ceb07442c1363126f9a05a2df1b82ee8d5413a2a67a46a69c6b7a27a6'
@@ -1,4 +1,3 @@
1
-
2
1
  The MIT License (MIT)
3
2
 
4
3
  Copyright (c) 2020 Ed Mason
@@ -10,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
9
  copies of the Software, and to permit persons to whom the Software is
11
10
  furnished to do so, subject to the following conditions:
12
11
 
13
- The above copyright notice and this permission notice shall be included in all
14
- copies or substantial portions of the Software.
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
15
14
 
16
15
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
- SOFTWARE.
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Jekyll Statuspage
2
- This a Statuspage theme for Jekyll. Simply add your websites and links to your `_config.yml`, and you're done! Check out our sample one [here](/_config.yml)
2
+
3
+ ![Gem](https://img.shields.io/gem/v/jekyll-statuspage?color=red&label=gem%20theme&logo=jekyll)
4
+
5
+ This a Statuspage theme for Jekyll. Simply add your websites and links to your `_config.yml`, and you're done! Check out our sample one [here](/sampleconfig.yml)
3
6
 
4
7
  ## Installation
5
8
 
@@ -21,7 +24,7 @@ And then execute:
21
24
  $ bundle
22
25
  ```
23
26
 
24
- Or install it yourself as:
25
- ```
26
- $ gem install jekyll-statuspage
27
- ```
27
+ #### Or:
28
+
29
+ Use our starter repo: [forgenst/statuspage-starter](https://github.com/forgenst/statuspage-starter)
30
+ **NB: I've had problems running this on Windows, to do with baseurl. See Issues for details**
@@ -1,42 +1,20 @@
1
- # theme : "jekyll-statuspage"
2
- # remote_theme : "forgenst/jekyll-statuspage"
3
-
4
- url: "https://pages.forgenst.com" # url of your site
5
- baseurl: "/jekyll-statuspage" # only need if your site is hosted as a subdomain, e.g. on GH Pages
6
-
7
- plugins:
8
- - jekyll-remote-theme
9
-
10
- #
11
- # Statuspage-specific Options
12
- #
13
-
14
- brand:
15
- title: Jekyll Statuspage
16
- logo: /assets/icon.jpg
17
- logo-text: "Jekyll Statuspage"
18
-
19
- color-scheme: # blue, dark or red (light is default)
20
- fa-code: "c02bf44fa3" # code for font awesome
21
-
22
- site-list:
23
- links:
24
- - label: "Main" # Name of your website
25
- url: "https://forgenst.com" # Website URL
26
- text: "Main Website" # Optional description
27
- custom-args: "&color=white&down_color=lightgrey&down_message=offline&label=forgenst.com&logo=firebase&logoColor=orange&style=for-the-badge&up_color=blue&up_message=online" # Optional Shields.io Badge overrides (see https://shields.io for details, all parameters shown in this example)
28
- - label: "Portfolio"
29
- url: "https://eapm.forgenst.com"
30
- text: "Portfolio, hosted on Firebase"
31
- - label: "Blog"
32
- url: "https://blog.forgenst.com"
33
- text: "Blog, hosted on GitHub Pages"
34
-
35
- social:
36
- links:
37
- - label: "GitHub"
38
- icon: "fab fa-github-alt"
39
- url: "https://github.com/forgenst"
40
- - label: "Email"
41
- icon: "far fa-envelope"
42
- url: "mailto:ed@forgenst.com"
1
+ theme : "jekyll-statuspage"
2
+
3
+ title: "Jekyll Statuspage"
4
+ baseurl: "" # only need if your site is hosted as a subdomain, e.g. on GH Pages
5
+ url: "" # url of your site
6
+
7
+ plugins:
8
+ - jekyll-remote-theme
9
+
10
+ #
11
+ # Statuspage-specific Options
12
+ #
13
+
14
+ brand:
15
+ title: Jekyll Statuspage
16
+ logo:
17
+ logo-text: "Jekyll Statuspage"
18
+
19
+ color-scheme: # blue, dark or red (light is default)
20
+ fa-code: # code for font awesome
@@ -1,22 +1,22 @@
1
- {% if site.site-list.links %}
2
- <div class="row row-cols-1 row-cols-md-1 push">
3
- {% for link in site.site-list.links %}
4
- {% if link.label and link.url %}
5
- <div class="col mb-4">
6
- <div class="card h-100">
7
- <div class="card-body">
8
- {% if link.custom-args %}
9
- <h5 class="card-title"><a href="{{ link.url }} ">{{ link.label }}</a><img style="float: right;" src="https://img.shields.io/website?{{ link.custom-args }}&url={{ link.url }}" alt="..."></h5>
10
- {% else %}
11
- <h5 class="card-title"><a href="{{ link.url }} ">{{ link.label }}</a><img style="float: right;" src="https://img.shields.io/website?url={{ link.url }}" alt="..."></h5>
12
- {% endif %}
13
- {% if link.text %}
14
- <p class="card-text">{{link.text}}</p>
15
- {% endif %}
16
- </div>
17
- </div>
18
- </div>
19
- {% endif %}
20
- {% endfor %}
21
- </div>
1
+ {% if site.site-list.links %}
2
+ <div class="row row-cols-1 row-cols-md-1 push">
3
+ {% for link in site.site-list.links %}
4
+ {% if link.label and link.url %}
5
+ <div class="col mb-4">
6
+ <div class="card h-100">
7
+ <div class="card-body">
8
+ {% if link.custom-args %}
9
+ <h5 class="card-title"><a href="{{ link.url }}">{{ link.label }}</a><img style="float: right;" src="https://img.shields.io/website?{{ link.custom-args }}&url={{ link.url }}" alt="..."></h5>
10
+ {% else %}
11
+ <h5 class="card-title"><a href="{{ link.url }}">{{ link.label }}</a><img style="float: right;" src="https://img.shields.io/website?url={{ link.url }}" alt="..."></h5>
12
+ {% endif %}
13
+ {% if link.text %}
14
+ <p class="card-text">{{link.text}}</p>
15
+ {% endif %}
16
+ </div>
17
+ </div>
18
+ </div>
19
+ {% endif %}
20
+ {% endfor %}
21
+ </div>
22
22
  {% endif %}
@@ -1,11 +1,11 @@
1
- <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
2
- <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
3
- <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
4
- <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
5
-
6
- <meta charset="UTF-8">
7
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
8
- <title>{{site.brand.title}}</title>
9
- <link rel="icon" href="{{site.brand.logo}}" type="image">
10
- <link rel="stylesheet" href="assets/css/index.css">
11
- <script src="https://kit.fontawesome.com/{{site.fa-code}}.js" crossorigin="anonymous"></script>
1
+ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
2
+ <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
3
+ <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
4
+ <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
5
+
6
+ <meta charset="UTF-8">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+ <title>{{ site.title }}</title>
9
+ <link rel="icon" href="{{ site.brand.logo | relative_url }}" type="image">
10
+ <link rel="stylesheet" href="{{ 'assets/css/index.css' | relative_url }}">
11
+ <script src="https://kit.fontawesome.com/{{site.fa-code}}.js" crossorigin="anonymous"></script>
@@ -1,29 +1,31 @@
1
- {% if site.color-scheme == "dark" %}
2
- <nav class="navbar navbar-dark bg-dark">
3
- {% elsif site.color-scheme == "blue" %}
4
- <nav class="navbar navbar-dark bg-primary">
5
- {% elsif site.color-scheme == "red" %}
6
- <nav class="navbar navbar-dark bg-danger">
7
- {% else %}
8
- <nav class="navbar navbar-light bg-light">
9
- {% endif %}
10
- <a class="navbar-brand" href="{{site.url}}">
11
- <img src="{{site.brand.logo}}" width="30" height="30" alt="{{site.title}}" loading="lazy">
12
- {% if site.brand.logo-text %}
13
- <span>{{site.brand.logo-text}}</span>
14
- {% endif %}
15
- </a>
16
- {% if site.social.links %}
17
- <ul class="social-icons">
18
- {% for link in site.social.links %}
19
- {% if link.label and link.url %}
20
- {% if site.color-scheme == "blue" or site.color-scheme == "dark" or site.color-scheme == "red" %}
21
- <li><a href="{{link.url}}"><i style="color: whitesmoke" class="{{link.icon}}"></i></a></li>
22
- {% else %}
23
- <li><a href="{{link.url}}"><i style="color: #444;" class="{{link.icon}}"></i></a></li>
24
- {% endif %}
25
- {% endif %}
26
- {% endfor %}
27
- </ul>
28
- {% endif %}
1
+ {% if site.color-scheme == "dark" %}
2
+ <nav class="navbar navbar-dark bg-dark">
3
+ {% elsif site.color-scheme == "blue" %}
4
+ <nav class="navbar navbar-dark bg-primary">
5
+ {% elsif site.color-scheme == "red" %}
6
+ <nav class="navbar navbar-dark bg-danger">
7
+ {% else %}
8
+ <nav class="navbar navbar-light bg-light">
9
+ {% endif %}
10
+ <a class="navbar-brand" href="{{site.url | relative_url }}">
11
+ {% if site.brand.logo %}
12
+ <img src="{{ site.brand.logo | relative_url }}" width="30" height="30" alt="{{site.title}}" loading="lazy">
13
+ {% endif %}
14
+ {% if site.brand.logo-text %}
15
+ <span>{{site.brand.logo-text}}</span>
16
+ {% endif %}
17
+ </a>
18
+ {% if site.social.links %}
19
+ <ul class="social-icons">
20
+ {% for link in site.social.links %}
21
+ {% if link.label and link.url %}
22
+ {% if site.color-scheme == "blue" or site.color-scheme == "dark" or site.color-scheme == "red" %}
23
+ <li><a href="{{ link.url}}"><i style="color: whitesmoke" class="{{ link.icon}}"></i></a></li>
24
+ {% else %}
25
+ <li><a href="{{ link.url}}"><i style="color: #444;" class="{{ link.icon}}"></i></a></li>
26
+ {% endif %}
27
+ {% endif %}
28
+ {% endfor %}
29
+ </ul>
30
+ {% endif %}
29
31
  </nav>
@@ -1,15 +1,15 @@
1
- <!DOCTYPE html>
2
- <html lang="en" class="h-100">
3
- <head>
4
- {% include head.html %}
5
- </head>
6
- <body class="d-flex flex-column h-100" data-gr-c-s-loaded="true">
7
- <!-- Begin page content -->
8
- <main role="main" class="flex-shrink-0">
9
- {% include nav.html %}
10
- <div class="container-fluid">
11
- {% include badges.html %}
12
- </div>
13
- </main>
14
- </body>
1
+ <!DOCTYPE html>
2
+ <html lang="en" class="h-100">
3
+ <head>
4
+ {% include head.html %}
5
+ </head>
6
+ <body class="d-flex flex-column h-100" data-gr-c-s-loaded="true">
7
+ <!-- Begin page content -->
8
+ <main role="main" class="flex-shrink-0">
9
+ {% include nav.html %}
10
+ <div class="container-fluid">
11
+ {% include badges.html %}
12
+ </div>
13
+ </main>
14
+ </body>
15
15
  </html>
@@ -1,42 +1,42 @@
1
- ---
2
- # Front Matter
3
- ---
4
- // ________ _________ ________ _________ ___ ___ ________ ________ ________ ________ _______
5
- // |\ ____\|\___ ___\\ __ \|\___ ___\\ \|\ \|\ ____\|\ __ \|\ __ \|\ ____\|\ ___ \
6
- // \ \ \___|\|___ \ \_\ \ \|\ \|___ \ \_\ \ \\\ \ \ \___|\ \ \|\ \ \ \|\ \ \ \___|\ \ __/|
7
- // \ \_____ \ \ \ \ \ \ __ \ \ \ \ \ \ \\\ \ \_____ \ \ ____\ \ __ \ \ \ __\ \ \_|/__
8
- // \|____|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \\\ \|____|\ \ \ \___|\ \ \ \ \ \ \|\ \ \ \_|\ \
9
- // ____\_\ \ \ \__\ \ \__\ \__\ \ \__\ \ \_______\____\_\ \ \__\ \ \__\ \__\ \_______\ \_______\
10
- // |\_________\ \|__| \|__|\|__| \|__| \|_______|\_________\|__| \|__|\|__|\|_______|\|_______|
11
- // \|_________| \|_________|
12
- //
13
- //
14
- // FORGENST - JEKYLL STATUSPAGE
15
- // A Simple Statuspage template for Jekyll - https://github.com/forgenst/jekyll-statuspage
16
- // © 2020 - Ed Mason
17
- //
18
- //
19
-
20
- .push {
21
- margin: 25px;
22
- }
23
-
24
- .social-icons {
25
- ul {
26
- margin: 0;
27
- padding: 0;
28
- list-style-type: none;
29
- float: right;
30
- }
31
- li {
32
- font-size: 20px;
33
- margin-top: 20px;
34
- display: inline-block;
35
- text-transform: uppercase;
36
- padding-right: 10px;
37
- }
38
- a {
39
- white-space: nowrap;
40
- font-weight: bold;
41
- }
1
+ ---
2
+ # Front Matter
3
+ ---
4
+ // ________ _________ ________ _________ ___ ___ ________ ________ ________ ________ _______
5
+ // |\ ____\|\___ ___\\ __ \|\___ ___\\ \|\ \|\ ____\|\ __ \|\ __ \|\ ____\|\ ___ \
6
+ // \ \ \___|\|___ \ \_\ \ \|\ \|___ \ \_\ \ \\\ \ \ \___|\ \ \|\ \ \ \|\ \ \ \___|\ \ __/|
7
+ // \ \_____ \ \ \ \ \ \ __ \ \ \ \ \ \ \\\ \ \_____ \ \ ____\ \ __ \ \ \ __\ \ \_|/__
8
+ // \|____|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \\\ \|____|\ \ \ \___|\ \ \ \ \ \ \|\ \ \ \_|\ \
9
+ // ____\_\ \ \ \__\ \ \__\ \__\ \ \__\ \ \_______\____\_\ \ \__\ \ \__\ \__\ \_______\ \_______\
10
+ // |\_________\ \|__| \|__|\|__| \|__| \|_______|\_________\|__| \|__|\|__|\|_______|\|_______|
11
+ // \|_________| \|_________|
12
+ //
13
+ //
14
+ // FORGENST - JEKYLL STATUSPAGE
15
+ // A Simple Statuspage template for Jekyll - https://github.com/forgenst/jekyll-statuspage
16
+ // © 2020 - Ed Mason
17
+ //
18
+ //
19
+
20
+ .push {
21
+ margin: 25px;
22
+ }
23
+
24
+ .social-icons {
25
+ ul {
26
+ margin: 0;
27
+ padding: 0;
28
+ list-style-type: none;
29
+ float: right;
30
+ }
31
+ li {
32
+ font-size: 20px;
33
+ margin-top: 20px;
34
+ display: inline-block;
35
+ text-transform: uppercase;
36
+ padding-right: 10px;
37
+ }
38
+ a {
39
+ white-space: nowrap;
40
+ font-weight: bold;
41
+ }
42
42
  }
metadata CHANGED
@@ -1,29 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-statuspage
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ed Mason
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-13 00:00:00.000000000 Z
11
+ date: 2020-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '4.1'
19
+ version: '3.9'
20
20
  type: :runtime
21
21
  prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '3.9'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 2.1.4
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 2.1.4
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '12.0'
48
+ type: :development
49
+ prerelease: false
22
50
  version_requirements: !ruby/object:Gem::Requirement
23
51
  requirements:
24
52
  - - "~>"
25
53
  - !ruby/object:Gem::Version
26
- version: '4.1'
54
+ version: '12.0'
27
55
  description:
28
56
  email:
29
57
  - ed@forgenst.com
@@ -31,7 +59,7 @@ executables: []
31
59
  extensions: []
32
60
  extra_rdoc_files: []
33
61
  files:
34
- - LICENSE.md
62
+ - LICENSE
35
63
  - README.md
36
64
  - _config.yml
37
65
  - _includes/badges.html
@@ -39,11 +67,13 @@ files:
39
67
  - _includes/nav.html
40
68
  - _layouts/default.html
41
69
  - assets/css/index.scss
42
- - assets/icon.jpg
43
- homepage: https://forgenst.github.io/jekyll-statuspage
70
+ homepage: https://github.com/forgenst/jekyll-statuspage
44
71
  licenses:
45
72
  - MIT
46
- metadata: {}
73
+ metadata:
74
+ bug_tracker_uri: https://github.com/forgenst/jekyll-statuspage/issues
75
+ source_code_uri: https://github.com/forgenst/jekyll-statuspage
76
+ plugin_type: theme
47
77
  post_install_message:
48
78
  rdoc_options: []
49
79
  require_paths:
@@ -59,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
59
89
  - !ruby/object:Gem::Version
60
90
  version: '0'
61
91
  requirements: []
62
- rubygems_version: 3.0.3
92
+ rubygems_version: 3.0.8
63
93
  signing_key:
64
94
  specification_version: 4
65
95
  summary: A Statuspage theme for Jekyll. Easily add your websites to a statuspage
Binary file