jekyll-theme-centos 0.6.4 → 0.6.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 859835db3e4fcc6a8f68bf59213ff534bff3fc2611d9077d121f17b9ce55e57f
4
- data.tar.gz: 8865aec2e1b931dfd2e67328622503baf3596851a9a87aa3c59152a338a02a96
3
+ metadata.gz: 3ee411003adc36928233f6eb5fe4b6ef4c7f622f600922517b786edf0ce3067e
4
+ data.tar.gz: 90b3f7f1d2032822a2b487c2096b4fc6ac4026bece0ac8307d728613bc864c30
5
5
  SHA512:
6
- metadata.gz: 376683a58a6e79c0015007a056bdfb18569a63a905181ffc4935220511c4dc5ea38f2e7444eb859442e9d234454d8616eb8cf999992f2b68937a008951fc2394
7
- data.tar.gz: e40bfc94b31e98b5457bffe5ca1bebfdd20b7f90d522699a4f2b5fb933469310668644aea2a1aae2104a1cf9f4e5f27f75f82cfb780bda5357b86d6a4deb053c
6
+ metadata.gz: ffd2dc794ae948c96a050b167d17c5747c1121558100b43ba06e685b028530d5b09e2d29b4715d2a0ec29863141263784e9a5ee1cc41e10e52686f913746c89b
7
+ data.tar.gz: 2f88e36a305711cfa01c352b74a082ea9115025e125f47c46759a855814e57f87c75097f97de2c8a6bf5143063cc91da75e02dce28c16c0387e78bb576f6f859
@@ -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
 
@@ -1,4 +1,4 @@
1
1
  <tr>
2
- <td>{% if row["date"] != "" %}{{ row['date'] }}{% endif %}
2
+ <td>{% if row["date"] != "" %}{{ row['date'] | date_to_string: "ordinal", "US" }}{% endif %}
3
3
  {% if row["url"] != "" %}<a href="{{ row['url'] }}"><i class="fas fa-exclamation-circle"></i></a>{% endif %}</td>
4
4
  </tr>
File without changes
@@ -1,16 +1,56 @@
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
+ </div>
49
+ {% endfor %}
50
+ </div>
51
+ </div>
52
+
14
53
  </div>
54
+ {% endfor %}
15
55
  </div>
16
56
  </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 %}
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jekyll-theme-centos v0.6.4 (https://gitlab.com/areguera/jekyll-theme-centos/)
2
+ * jekyll-theme-centos v0.6.5 (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
  */
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.4
4
+ version: 0.6.5
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-16 00:00:00.000000000 Z
11
+ date: 2021-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -62,25 +62,14 @@ 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-doc.html
66
+ - _includes/download/cards-body-eol.html
67
+ - _includes/download/cards-body.html
68
+ - _includes/download/cards-footer.html
69
+ - _includes/download/cards-header-doc.html
70
+ - _includes/download/cards-header-eol.html
71
+ - _includes/download/cards-header.html
68
72
  - _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
73
  - _includes/footer.html
85
74
  - _includes/head.html
86
75
  - _includes/header.html
@@ -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 %}