jekyll-theme-centos 0.6.2 → 0.6.7

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: 964ec6545d3c69da750c9ff52d130eb0344ae8302ef6810af517198f4b269623
4
- data.tar.gz: cf64337d0980405a4b6aaa491aef856465341753fdf58241ba8474f6abf9d288
3
+ metadata.gz: 05cdc9d4ffec3fa4afa800382c1f472e3a74d85886eca0258b0a15b2fea95ce9
4
+ data.tar.gz: 4bc6dd7b4fff4746933eb27ac3d95da7ca7bf710d8cbbd831ef6e18e3c4eb3a4
5
5
  SHA512:
6
- metadata.gz: 927adffa89ebfc3e1a6de1cdd4fadc869810cc30b4e34a774192e48d67159be591ca12b6fafe7ebbfa6c26ff4c38cc12557ef325094cb0d23a6d82aaf1eaeb91
7
- data.tar.gz: 0c8db8bb6625c844bc97a3da0ef49399ec7d077ee5f7be50d394df9060ec482c33f8193cca1fdd5fb4d1e9b1f6d21a822f7d598c031fb772242e2b21fe0fb5e8
6
+ metadata.gz: 5aa312a261a42254c38fcd8389a37f95bf63f4278a6e4d0fa2ad779a6ef11d8ccbd5ee29ff9d1f4cfcebc720ffa3115dcf4e8638e414ede55fa398fa1bee9ded
7
+ data.tar.gz: 9c118da3aba902211865d705740724d298a7e76e8256b05f3353e408b12d384cca5c8db8ab9a84bea24f3458fa534b207ea6a9f4ae1ca8afdfdf266fdd8e9a79
@@ -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 %}
@@ -52,7 +52,6 @@
52
52
  &__content {
53
53
  @extend .col-sm-12;
54
54
  @include content;
55
- @include content-nav;
56
55
  }
57
56
  }
58
57
 
@@ -1,13 +1,7 @@
1
- /* ----------------------------------------------------------------------
2
- * Fontawesome
3
- * ---------------------------------------------------------------------- */
4
- @import "fontawesome/fontawesome";
5
- @import "fontawesome/solid";
6
- @import "fontawesome/brands";
7
-
8
- /* ----------------------------------------------------------------------
9
- * CentOS Theme
10
- * ---------------------------------------------------------------------- */
1
+ // Variables
2
+ //
3
+ // Variables should follow the `$component-state-property-size` formula for
4
+ // consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
11
5
  $centos-color-0: #9ccd2a;
12
6
  $centos-color-1: #efa724;
13
7
  $centos-color-2: #a14f8c;
@@ -15,16 +9,14 @@ $centos-color-3: #262577;
15
9
  $centos-img-logo: "/assets/img/logo.png";
16
10
  $centos-img-motif: "/assets/img/motif.png";
17
11
 
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
- /* Header
27
- */
19
+ // Header
28
20
  $home-header-padding-top: 202px;
29
21
  $home-header-padding-bottom: 150px;
30
22
  $page-header-padding-top: 152px;
@@ -32,40 +24,30 @@ $page-header-padding-bottom: 100px;
32
24
  $heading-margin-top: 1rem;
33
25
  $scroll-margin-top: $heading-margin-top * 2.6;
34
26
 
35
- /* Body - settings for `<body>` element.
36
- */
27
+ // Body - settings for `<body>` element.
37
28
  $body-bg: #f0f0f0;
38
29
  $body-color: $dark;
39
30
 
40
- /* Paragraphs
41
- */
31
+ // Paragraphs
42
32
  $paragraph-margin-bottom: 1.8rem;
33
+ $code-color: $dark;
43
34
 
44
- /* Typography - Font, line-height, and color for body text, headings, and more.
45
- */
35
+ // Typography - Font, line-height, and color for body text, headings, and more.
46
36
  $font-family-path: "/assets/fonts";
47
37
  $font-family-sans-serif: Montserrat;
48
38
  $line-height-base: 1.75;
49
39
  $headings-line-height: $line-height-base - 0.3;
50
40
  $headings-font-weight: 700;
51
41
 
52
- /* Dropdown menu container and contents.
53
- */
42
+ // Dropdown menu container and contents.
54
43
  $dropdown-bg: $dark;
55
44
  $dropdown-link-color: $white;
56
45
  $dropdown-link-hover-color: $white;
57
46
  $dropdown-link-hover-bg: rgba($primary, .2);
58
47
 
59
- /* Breadcrumbs
60
- */
48
+ // Breadcrumbs
61
49
  $breadcrumb-bg: transparent;
62
50
  $breadcrumb-padding-x: 0;
63
51
 
64
- /* Tables
65
- */
52
+ // Tables
66
53
  $table-dark-bg: $dark;
67
-
68
- /* ----------------------------------------------------------------------
69
- * Bootstrap
70
- * ---------------------------------------------------------------------- */
71
- @import "bootstrap/bootstrap";
@@ -1,16 +1,20 @@
1
1
  /*!
2
- * jekyll-theme-centos v0.6.2 (https://gitlab.com/areguera/jekyll-theme-centos/)
2
+ * jekyll-theme-centos v0.6.7 (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
- @import "_variables";
7
- @import "_fonts";
8
- @import "_mixins";
9
- @import "_datatable";
10
- @import "_highlighter";
11
- @import "_toc";
12
- @import "_breadcrumbs";
13
- @import "_nav";
14
- @import "_header";
15
- @import "_main";
16
- @import "_footer";
6
+ @import "fontawesome/fontawesome";
7
+ @import "fontawesome/solid";
8
+ @import "fontawesome/brands";
9
+ @import "centos/variables";
10
+ @import "bootstrap/bootstrap";
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.2
4
+ version: 0.6.7
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 %}