jekyll-theme-centos 0.6.1 → 0.6.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: 3911794ba604843390694f943c1da534da38c931387421d2f0c079bf509b7b20
4
- data.tar.gz: 4f70461ef7578042a6e2a70fd9e6ff2073d092de89d88ae879df10341be632b5
3
+ metadata.gz: 83bd157a73640d2d1e738562011f7d2c88ce95b09f6e19e2a6632f319a04aefa
4
+ data.tar.gz: f4643aefa68469355a0dfd343a081e58295d5a7e88393069cdf0c2f0b018ac27
5
5
  SHA512:
6
- metadata.gz: bc5e29cc1ecab64b3b9c9ff3a824c2494f6880f4b35fd69f29dce08c2cff4b2b28cd899abb7820e96e599c045e94f3dd194daa8f555696434922af71ad6fa65a
7
- data.tar.gz: ec6eb9c95f195d567804e1da9343f3650fab135a1736e4be058549c47e09d6a951f4919c40def4fcfe7f9d5fbe0d365610f2066f0df827a53ffd2681a75f0b9a
6
+ metadata.gz: d720f270ec50394efd0adc705180f125f90676eb94c8bdd6bf5a40d367c3f59b2316d0fe17c3e7b0eaebe0d1bf9629d7f7a1440c1038ba5a1fa9af10716b453d
7
+ data.tar.gz: 533da808a149bad940ef168abd1f2eac23e13e1a10dae0dfe6cfbc3d1a35f7ecfa4d9d819edc4d2c9ce8fc2044b1cdc68d6b2ce2bf9fcc54bd5289260ef88287
@@ -0,0 +1,13 @@
1
+ {% capture code %}```sh
2
+ {{ row["commands"] | lstrip }}
3
+ ```{% endcapture %}
4
+
5
+ <tr>
6
+ <td>
7
+ {% if row["commands"] != "" %}
8
+ {% include page/code-header.html icon="terminal" title="Terminal" %}
9
+ {{ code | markdownify }}
10
+ {% endif %}
11
+ </td>
12
+ </tr>
13
+
@@ -1,6 +1,6 @@
1
1
  <tr>
2
2
  <td>{% if row["release_notes"] != "" %}<a href="{{ row['release_notes'] }}">Release Notes</a>{% else %}Release Notes{% endif %}
3
3
  | {% if row["release_email"] != "" %}<a href="{{ row['release_email'] }}">Release Email</a>{% else %}Release Email{% endif %}
4
- | {% if row["documentation"] != "" %}<a href="{{ row['documentation'] }}">Documentation</a>{% else %}Documentation{% endif %}</td>
4
+ | {% if row["website"] != "" %}<a href="{{ row['website'] }}">Website</a>{% else %}Website{% endif %}</td>
5
5
  </tr>
6
6
 
@@ -0,0 +1,7 @@
1
+ <tr>
2
+ <td>
3
+ {% if row["overview"] != "" %}{{ row['overview'] }} {% endif %}
4
+ {% if row["date"] != "" %}{{ row['date'] | date_to_string: "ordinal", "US" }} {% endif %}
5
+ {% if row["url"] != "" %}<a href="{{ row['url'] }}"><i class="fas fa-exclamation-circle"></i></a>{% endif %}
6
+ </td>
7
+ </tr>
File without changes
@@ -0,0 +1,9 @@
1
+ <table>
2
+ <thead>
3
+ <tr>
4
+ <th scope="col"><i class="fas fa-sync-alt"></i> {{ row["overview"] }}</th>
5
+ </tr>
6
+ </thead>
7
+ <tbody>
8
+
9
+
@@ -1,16 +1,63 @@
1
+ {% if include.distribution %}
2
+ {% assign cards = site.data.centos.distributions | where: "page", include.distribution %}
3
+ {% else %}
4
+ {% assign cards = site.data.centos.distributions %}
5
+ {% endif %}
6
+
1
7
  <div class="download__content__card">
2
8
  <div class="download__content__card__header">
3
9
  <ul class="nav nav-pills card-header-pills flex-column flex-sm-row">
4
- <li class="nav-item flex-sm-fill text-sm-center"><a class="nav-link active" role="tab" data-toggle="tab" href="#tab-stream">CentOS Stream</a></li>
5
- <li class="nav-item flex-sm-fill text-sm-center"><a class="nav-link" role="tab" data-toggle="tab" href="#tab-linux">CentOS Linux</a></li>
10
+ {% for item in cards %}
11
+ <li class="nav-item flex-sm-fill text-sm-center"><a class="nav-link{% if forloop.first %} active{% endif %}" role="tab" data-toggle="tab" href="#{{ item.page }}">{{ item.name }}</a></li>
12
+ {% endfor %}
6
13
  </ul>
7
14
  </div>
8
15
  <div class="download__content__card__body tab-content">
9
- <div class="tab-pane active" role="tabpanel" id="tab-stream">
10
- {% include download/stream.html %}
11
- </div>
12
- <div class="tab-pane" role="tabpanel" id="tab-linux">
13
- {% include download/linux.html %}
16
+ {% for item in cards %}
17
+ <div class="tab-pane{% if forloop.first %} active{% endif %}" role="tabpanel" id="{{ item.page }}">
18
+
19
+ <div class="download__content__card">
20
+ <div class="download__content__card__header">
21
+ <ul class="nav nav-pills card-header-pills flex-column flex-sm-row">
22
+ {% for release in item.releases %}
23
+ <li class="nav-item flex-sm-fill text-sm-center"><a class="nav-link{% if forloop.first %} active{% endif %}" role="tab" data-toggle="tab" href="#{{ item.page }}-{{ release[0] }}">{{ release[0] }}</a></li>
24
+ {% endfor %}
25
+ </ul>
26
+ </div>
27
+
28
+ <div class="download__content__card__body tab-content">
29
+ {% for release in item.releases %}
30
+ <div class="tab-pane{% if forloop.first %} active{% endif %}" role="tabpanel" id="{{ item.page }}-{{ release[0] }}">
31
+ {% include download/cards-header.html %}
32
+ {% for row in release[1].downloads %}
33
+ {% include download/cards-body.html %}
34
+ {% endfor %}
35
+ {% include download/cards-footer.html %}
36
+
37
+ {% include download/cards-header-doc.html %}
38
+ {% for row in release[1].docs %}
39
+ {% include download/cards-body-doc.html %}
40
+ {% endfor %}
41
+ {% include download/cards-footer.html %}
42
+
43
+ {% include download/cards-header-eol.html %}
44
+ {% for row in release[1].eol %}
45
+ {% include download/cards-body-eol.html %}
46
+ {% endfor %}
47
+ {% include download/cards-footer.html %}
48
+
49
+ {% for row in release[1].convert %}
50
+ {% include download/cards-header-convert.html %}
51
+ {% include download/cards-body-convert.html %}
52
+ {% include download/cards-footer.html %}
53
+ {% endfor %}
54
+
55
+ </div>
56
+ {% endfor %}
57
+ </div>
58
+ </div>
59
+
14
60
  </div>
61
+ {% endfor %}
15
62
  </div>
16
63
  </div>
@@ -1,11 +1,11 @@
1
1
  <section class="home__content__distributions">
2
2
  <h2>Distributions</h2>
3
- <p class="home__content__distributions_preamble">{{ site.data.centos.distributions.preamble }}</p>
3
+ <p class="home__content__distributions_preamble">We offer the following distributions:</p>
4
4
 
5
- {% if site.data.centos.distributions.buttons %}
5
+ {% if site.data.centos.distributions %}
6
6
  <div class="home__content__distributions__buttons">
7
- {% for item in site.data.centos.distributions.buttons %}
8
- <a class="btn" role="button" href="{{ item.link }}">{{ item.name }}</a>
7
+ {% for item in site.data.centos.distributions %}
8
+ <a class="btn" role="button" href="{{ item.page }}">{{ item.name }}</a>
9
9
  {% endfor %}
10
10
  </div>
11
11
  {% endif %}
@@ -18,7 +18,7 @@
18
18
  color: $white;
19
19
  background-color: $dark;
20
20
  font-size: $font-size-base * 0.9;
21
- text-shadow: 0 0 5px $black;
21
+ text-shadow: 0 0 5px $dark;
22
22
 
23
23
  scroll-margin-top: $scroll-margin-top;
24
24
 
@@ -2,11 +2,11 @@
2
2
 
3
3
  color: $white;
4
4
  background-image: url($centos-img-motif);
5
- background-color: $black;
5
+ background-color: $dark;
6
6
  background-size: cover;
7
7
  background-position: top right;
8
8
 
9
- text-shadow: 0 0 5px $black;
9
+ text-shadow: 0 0 5px $dark;
10
10
 
11
11
  &__home {
12
12
  display: flex;
@@ -37,7 +37,7 @@
37
37
 
38
38
  &__title, &__description {
39
39
  @extend .container;
40
- text-shadow: 0 0 5px $black;
40
+ text-shadow: 0 0 5px $dark;
41
41
  }
42
42
 
43
43
  &__description {
@@ -58,7 +58,7 @@
58
58
  padding: 0.5em;
59
59
  font-size: $h3-font-size;
60
60
  color: $white;
61
- background: $black;
61
+ background: $dark;
62
62
  opacity: 0.3;
63
63
  &:hover {
64
64
  opacity: 0.65;
@@ -74,7 +74,7 @@
74
74
  @extend .container;
75
75
  }
76
76
  &__title, &__description {
77
- text-shadow: 0 0 5px $black;
77
+ text-shadow: 0 0 5px $dark;
78
78
  }
79
79
  &__description {
80
80
  @extend .lead;
@@ -2,11 +2,6 @@
2
2
  //
3
3
  // Variables should follow the `$component-state-property-size` formula for
4
4
  // consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
5
- //
6
-
7
- /* ----------------------------------------------------------------------
8
- * CentOS identity
9
- * ---------------------------------------------------------------------- */
10
5
  $centos-color-0: #9ccd2a;
11
6
  $centos-color-1: #efa724;
12
7
  $centos-color-2: #a14f8c;
@@ -14,18 +9,14 @@ $centos-color-3: #262577;
14
9
  $centos-img-logo: "/assets/img/logo.png";
15
10
  $centos-img-motif: "/assets/img/motif.png";
16
11
 
17
- /* ----------------------------------------------------------------------
18
- * Color system - based in the artistic motif palette and the number of
19
- * occurrence each color has in the image.
20
- * ---------------------------------------------------------------------- */
12
+ // Color system - based in the artistic motif palette and the number of
13
+ // occurrence each color has in the image.
21
14
  $white: #fff;
22
15
  $primary: #6226a9;
23
16
  $secondary: #0f1c4c;
24
17
  $dark: #05112b;
25
18
 
26
- /* ----------------------------------------------------------------------
27
- * Header
28
- * ---------------------------------------------------------------------- */
19
+ // Header
29
20
  $home-header-padding-top: 202px;
30
21
  $home-header-padding-bottom: 150px;
31
22
  $page-header-padding-top: 152px;
@@ -33,41 +24,30 @@ $page-header-padding-bottom: 100px;
33
24
  $heading-margin-top: 1rem;
34
25
  $scroll-margin-top: $heading-margin-top * 2.6;
35
26
 
36
- /* ----------------------------------------------------------------------
37
- * Body - settings for `<body>` element.
38
- * ---------------------------------------------------------------------- */
27
+ // Body - settings for `<body>` element.
39
28
  $body-bg: #f0f0f0;
40
29
  $body-color: $dark;
41
30
 
42
- /* ----------------------------------------------------------------------
43
- * Paragraphs
44
- * ---------------------------------------------------------------------- */
31
+ // Paragraphs
45
32
  $paragraph-margin-bottom: 1.8rem;
33
+ $code-color: $dark;
46
34
 
47
- /* ----------------------------------------------------------------------
48
- * Typography - Font, line-height, and color for body text, headings, and more.
49
- * ---------------------------------------------------------------------- */
35
+ // Typography - Font, line-height, and color for body text, headings, and more.
50
36
  $font-family-path: "/assets/fonts";
51
37
  $font-family-sans-serif: Montserrat;
52
38
  $line-height-base: 1.75;
53
39
  $headings-line-height: $line-height-base - 0.3;
54
40
  $headings-font-weight: 700;
55
41
 
56
- /* ----------------------------------------------------------------------
57
- * Dropdown menu container and contents.
58
- * ---------------------------------------------------------------------- */
42
+ // Dropdown menu container and contents.
59
43
  $dropdown-bg: $dark;
60
44
  $dropdown-link-color: $white;
61
45
  $dropdown-link-hover-color: $white;
62
46
  $dropdown-link-hover-bg: rgba($primary, .2);
63
47
 
64
- /* ----------------------------------------------------------------------
65
- * Breadcrumbs
66
- * ---------------------------------------------------------------------- */
48
+ // Breadcrumbs
67
49
  $breadcrumb-bg: transparent;
68
50
  $breadcrumb-padding-x: 0;
69
51
 
70
- /* ----------------------------------------------------------------------
71
- * Tables
72
- * ---------------------------------------------------------------------- */
52
+ // Tables
73
53
  $table-dark-bg: $dark;
@@ -1,24 +1,20 @@
1
1
  /*!
2
- * jekyll-theme-centos v0.6.1 (https://gitlab.com/areguera/jekyll-theme-centos/)
2
+ * jekyll-theme-centos v0.6.6 (https://gitlab.com/areguera/jekyll-theme-centos/)
3
3
  * Copyright 2020-2021 Alain Reguera Delgado
4
4
  * Licensed under MIT (https://gitlab.com/areguera/jekyll-theme-centos/-/blob/master/LICENSE)
5
5
  */
6
-
7
6
  @import "fontawesome/fontawesome";
8
7
  @import "fontawesome/solid";
9
8
  @import "fontawesome/brands";
10
-
11
- @import "_variables";
12
- @import "_fonts";
13
-
9
+ @import "centos/variables";
14
10
  @import "bootstrap/bootstrap";
15
-
16
- @import "_mixins";
17
- @import "_datatable";
18
- @import "_highlighter";
19
- @import "_toc";
20
- @import "_breadcrumbs";
21
- @import "_nav";
22
- @import "_header";
23
- @import "_main";
24
- @import "_footer";
11
+ @import "centos/fonts";
12
+ @import "centos/mixins";
13
+ @import "centos/datatable";
14
+ @import "centos/highlighter";
15
+ @import "centos/toc";
16
+ @import "centos/breadcrumbs";
17
+ @import "centos/nav";
18
+ @import "centos/header";
19
+ @import "centos/main";
20
+ @import "centos/footer";
@@ -23,6 +23,9 @@
23
23
  &-key {
24
24
  &:before { @extend .fas; content: fa-content($fa-var-key); padding-right: 5px; }
25
25
  }
26
+ &-markdown {
27
+ &:before { @extend .fab; content: fa-content($fa-var-markdown); padding-right: 5px; }
28
+ }
26
29
  }
27
30
 
28
31
  &--button {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-centos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alain Reguera Delgado
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-15 00:00:00.000000000 Z
11
+ date: 2021-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -62,25 +62,16 @@ files:
62
62
  - LICENSE
63
63
  - README.md
64
64
  - _includes/breadcrumbs.html
65
- - _includes/download/body-doc.html
66
- - _includes/download/body-eol.html
67
- - _includes/download/body.html
65
+ - _includes/download/cards-body-convert.html
66
+ - _includes/download/cards-body-doc.html
67
+ - _includes/download/cards-body-eol.html
68
+ - _includes/download/cards-body.html
69
+ - _includes/download/cards-footer.html
70
+ - _includes/download/cards-header-convert.html
71
+ - _includes/download/cards-header-doc.html
72
+ - _includes/download/cards-header-eol.html
73
+ - _includes/download/cards-header.html
68
74
  - _includes/download/cards.html
69
- - _includes/download/footer.html
70
- - _includes/download/header-doc.html
71
- - _includes/download/header-eol.html
72
- - _includes/download/header.html
73
- - _includes/download/linux.html
74
- - _includes/download/linux/7-doc.html
75
- - _includes/download/linux/7-eol.html
76
- - _includes/download/linux/7.html
77
- - _includes/download/linux/8-doc.html
78
- - _includes/download/linux/8-eol.html
79
- - _includes/download/linux/8.html
80
- - _includes/download/stream.html
81
- - _includes/download/stream/8-doc.html
82
- - _includes/download/stream/8-eol.html
83
- - _includes/download/stream/8.html
84
75
  - _includes/footer.html
85
76
  - _includes/head.html
86
77
  - _includes/header.html
@@ -1,4 +0,0 @@
1
- <tr>
2
- <td>{% if row["date"] != "" %}{{ row['date'] }}{% endif %}
3
- {% if row["url"] != "" %}<a href="{{ row['url'] }}"><i class="fas fa-exclamation-circle"></i></a>{% endif %}</td>
4
- </tr>
@@ -1,22 +0,0 @@
1
- <div class="download__content__card">
2
- <div class="download__content__card__header">
3
- <ul class="nav nav-pills card-header-pills flex-column flex-sm-row">
4
- <li class="nav-item flex-sm-fill text-sm-center"><a class="nav-link active" role="tab" data-toggle="tab" href="#tab-linux-8">8</a></li>
5
- <li class="nav-item flex-sm-fill text-sm-center"><a class="nav-link" role="tab" data-toggle="tab" href="#tab-linux-7">7</a></li>
6
- </ul>
7
- </div>
8
-
9
- <div class="download__content__card__body tab-content">
10
- <div class="tab-pane active" role="tabpanel" id="tab-linux-8">
11
- {% include download/linux/8.html %}
12
- {% include download/linux/8-doc.html %}
13
- {% include download/linux/8-eol.html %}
14
- </div>
15
-
16
- <div class="tab-pane" role="tabpanel" id="tab-linux-7">
17
- {% include download/linux/7.html %}
18
- {% include download/linux/7-doc.html %}
19
- {% include download/linux/7-eol.html %}
20
- </div>
21
- </div>
22
- </div>
@@ -1,5 +0,0 @@
1
- {% include download/header-doc.html %}
2
- {% for row in site.data.centos.linux-7-doc %}
3
- {% include download/body-doc.html %}
4
- {% endfor %}
5
- {% include download/footer.html %}
@@ -1,5 +0,0 @@
1
- {% include download/header-eol.html %}
2
- {% for row in site.data.centos.linux-7-eol %}
3
- {% include download/body-eol.html %}
4
- {% endfor %}
5
- {% include download/footer.html %}
@@ -1,5 +0,0 @@
1
- {% include download/header.html %}
2
- {% for row in site.data.centos.linux-7 %}
3
- {% include download/body.html %}
4
- {% endfor %}
5
- {% include download/footer.html %}
@@ -1,5 +0,0 @@
1
- {% include download/header-doc.html %}
2
- {% for row in site.data.centos.linux-8-doc %}
3
- {% include download/body-doc.html %}
4
- {% endfor %}
5
- {% include download/footer.html %}
@@ -1,5 +0,0 @@
1
- {% include download/header-eol.html %}
2
- {% for row in site.data.centos.linux-8-eol %}
3
- {% include download/body-eol.html %}
4
- {% endfor %}
5
- {% include download/footer.html %}
@@ -1,5 +0,0 @@
1
- {% include download/header.html %}
2
- {% for row in site.data.centos.linux-8 %}
3
- {% include download/body.html %}
4
- {% endfor %}
5
- {% include download/footer.html %}
@@ -1,16 +0,0 @@
1
- <div class="download__content__card">
2
-
3
- <div class="download__content__card__header">
4
- <ul class="nav nav-pills card-header-pills flex-column flex-sm-row">
5
- <li class="nav-item flex-sm-fill text-sm-center"><a class="nav-link active" role="tab" data-toggle="tab" href="#tab-stream-8">8</a></li>
6
- </ul>
7
- </div>
8
-
9
- <div class="download__content__card__body tab-content">
10
- <div class="tab-pane active" role="tabpanel" id="tab-stream-8">
11
- {% include download/stream/8.html %}
12
- {% include download/stream/8-doc.html %}
13
- {% include download/stream/8-eol.html %}
14
- </div>
15
- </div>
16
- </div>
@@ -1,5 +0,0 @@
1
- {% include download/header-doc.html %}
2
- {% for row in site.data.centos.stream-8-doc %}
3
- {% include download/body-doc.html %}
4
- {% endfor %}
5
- {% include download/footer.html %}
@@ -1,5 +0,0 @@
1
- {% include download/header-eol.html %}
2
- {% for row in site.data.centos.stream-8-eol %}
3
- {% include download/body-eol.html %}
4
- {% endfor %}
5
- {% include download/footer.html %}
@@ -1,5 +0,0 @@
1
- {% include download/header.html %}
2
- {% for row in site.data.centos.stream-8 %}
3
- {% include download/body.html %}
4
- {% endfor %}
5
- {% include download/footer.html %}