jekyll-theme-centos 0.6.4 → 0.6.9

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: 859835db3e4fcc6a8f68bf59213ff534bff3fc2611d9077d121f17b9ce55e57f
4
- data.tar.gz: 8865aec2e1b931dfd2e67328622503baf3596851a9a87aa3c59152a338a02a96
3
+ metadata.gz: 809a837e958bfdf34a8f1df1bc8195d52899887c65df4d54cd6d116933fca459
4
+ data.tar.gz: 8a2083a2c844be519d6c38a1e5cb808d8414f0ed1cee81c24f8d2731ba6979ab
5
5
  SHA512:
6
- metadata.gz: 376683a58a6e79c0015007a056bdfb18569a63a905181ffc4935220511c4dc5ea38f2e7444eb859442e9d234454d8616eb8cf999992f2b68937a008951fc2394
7
- data.tar.gz: e40bfc94b31e98b5457bffe5ca1bebfdd20b7f90d522699a4f2b5fb933469310668644aea2a1aae2104a1cf9f4e5f27f75f82cfb780bda5357b86d6a4deb053c
6
+ metadata.gz: 0db9eca9b04ff27146902819e7bc0496ab602cc60444e4eefc9f17e039159fc0f7d07608a55fc21836428769f9d9fb9d9aca0c21666dbacd4b676d9b53c90036
7
+ data.tar.gz: a9af68f5e45082749732fc6ad55c0a505bb5cd1b54ac19a88d5ada32349170bc2ae6464b6138e8f1d4f7a82b49d224ed202d6c7006be4f4ead8748619a5a26aa
@@ -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 %}
@@ -4,20 +4,20 @@
4
4
  {% else %}
5
5
  <div class="post__nav__explorer__newer--disabled">
6
6
  {% endif %}
7
- <a href="{{ page.previous.url }}"><button type="button" class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="Previous Post - {{ page.previous.title }}"><i class="fas fa-arrow-left"></i></button></a>
7
+ <a href="{{ page.previous.url | remove:'index.html' }}"><button type="button" class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="Previous Post - {{ page.previous.title }}"><i class="fas fa-arrow-left"></i></button></a>
8
8
  </div>
9
9
  {% include top.html %}
10
10
  <div class="post__nav_explorer__feeds">
11
11
  <a href="{{ "/feed.xml" | relative_url }}"><button type="button" class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="RSS"><i class="fas fa-rss"></i></button></a>
12
12
  </div>
13
13
  <div class="post__nav__explorer__index">
14
- <a href="/{{ site.pagination.indexpage }}.html"><button type="button" class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="Blog posts"><i class="fas fa-th"></i></button></a>
14
+ <a href="/news-and-events/"><button type="button" class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="Blog posts"><i class="fas fa-th"></i></button></a>
15
15
  </div>
16
16
  {% if page.next.url %}
17
17
  <div class="post__nav__explorer__older">
18
18
  {% else %}
19
19
  <div class="post__nav__explorer__older--disabled">
20
20
  {% endif %}
21
- <a href="{{ page.next.url }}"><button type="button" class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="Next Post - {{ page.next.title }}"><i class="fas fa-arrow-right"></i></button></a>
21
+ <a href="{{ page.next.url | remove:'index.html' }}"><button type="button" class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="Next Post - {{ page.next.title }}"><i class="fas fa-arrow-right"></i></button></a>
22
22
  </div>
23
23
  </nav>
@@ -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,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.9 (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
  */
@@ -1,5 +1,6 @@
1
1
  @mixin aside-nav {
2
2
  font-size: small;
3
+ width: 100%;
3
4
  margin-top: 15px;
4
5
  margin-left: 15px;
5
6
  margin-bottom: $paragraph-margin-bottom;
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.9
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-23 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 %}