jekyll-statuspage 1.0.0

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 7480801cbab69f74776f165f275ef1bb8d49c7ec5e32c0feafabcd2742785f14
4
+ data.tar.gz: 6036f114dfd84033d68697d50f95ea2b9037e1d99876c9cedecf2fee49a0af3f
5
+ SHA512:
6
+ metadata.gz: 54fdbe6f04cd3ec4b52929639ae148ca5cf2e5cbc89aec015ce77eb240881ed8616b2720aab660ae2c56c968f5849dfd4ab55f2aa8e5c760297bf810101b4ea8
7
+ data.tar.gz: b8b242027ec4d850d820c4fa0b6bb56ff0f8491fd30eb76c6e3dac29cfef581f700ac0ebaa1f39ca2d9b5851240b383d037ac67c17f3234edbc1ed0660e230f8
@@ -0,0 +1,22 @@
1
+
2
+ The MIT License (MIT)
3
+
4
+ Copyright (c) 2020 Ed Mason
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ 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.
@@ -0,0 +1,27 @@
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)
3
+
4
+ ## Installation
5
+
6
+ Add this line to your Jekyll site's `Gemfile`:
7
+
8
+ ```ruby
9
+ gem "jekyll-statuspage"
10
+ ```
11
+
12
+ And add this line to your Jekyll site's `_config.yml`:
13
+
14
+ ```yaml
15
+ theme: jekyll-statuspage
16
+ ```
17
+
18
+ And then execute:
19
+
20
+ ```
21
+ $ bundle
22
+ ```
23
+
24
+ Or install it yourself as:
25
+ ```
26
+ $ gem install jekyll-statuspage
27
+ ```
@@ -0,0 +1,42 @@
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"
@@ -0,0 +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>
22
+ {% endif %}
@@ -0,0 +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>
@@ -0,0 +1,29 @@
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 %}
29
+ </nav>
@@ -0,0 +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>
15
+ </html>
@@ -0,0 +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
+ }
42
+ }
Binary file
metadata ADDED
@@ -0,0 +1,66 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-statuspage
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Ed Mason
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-09-13 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jekyll
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.1'
27
+ description:
28
+ email:
29
+ - ed@forgenst.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - LICENSE.md
35
+ - README.md
36
+ - _config.yml
37
+ - _includes/badges.html
38
+ - _includes/head.html
39
+ - _includes/nav.html
40
+ - _layouts/default.html
41
+ - assets/css/index.scss
42
+ - assets/icon.jpg
43
+ homepage: https://forgenst.github.io/jekyll-statuspage
44
+ licenses:
45
+ - MIT
46
+ metadata: {}
47
+ post_install_message:
48
+ rdoc_options: []
49
+ require_paths:
50
+ - lib
51
+ required_ruby_version: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ required_rubygems_version: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ requirements: []
62
+ rubygems_version: 3.0.3
63
+ signing_key:
64
+ specification_version: 4
65
+ summary: A Statuspage theme for Jekyll. Easily add your websites to a statuspage
66
+ test_files: []