jekyll-theme-centos 0.6.3 → 0.6.8

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: 201062cefcd4d46f0932ca107a24a553046337b98c2d776db014057b9cce5edc
4
- data.tar.gz: dfb01c7b8328e5bb0dcc98d24f9587027a80a8b174c18a35e41cc400e449245c
3
+ metadata.gz: 8e2f2a6a60366c2fd7a438191fbcbf8bf74f09642622d93270fb2ccc60e4bbef
4
+ data.tar.gz: 28fbaefcf2b79d816daa38f1bc22651483977d034bf7774c391f6b6d979aa269
5
5
  SHA512:
6
- metadata.gz: cd9fbc1130b4406a25f91cf0f625c4815a1e0d1fc2b7656ac0045b6ac5bd617faba6ed559b55b65b3f2915a4d61ed25a46a127d586797f33f3f569ea968ccdf8
7
- data.tar.gz: 49ef4c38970188045299dc26e5a75f7131865d70b0ee30060c0140d998cb688c656d0b5eb6f4954ac245c8e17ebd4e96251561eb71001af7677de6743f5f5334
6
+ metadata.gz: fc48654b00c5c7872724fafa7529e6f1e4cca65b84227e03a9a1523a21e7bb445828496195b3ec0c8e25a3610a052139605cf2835e4258a64f3bd450b0c0b0fa
7
+ data.tar.gz: b6d87d548c3f52b0af77f64259a38824f05f3d14cb3de67fd4a044792d43dd7e4d5ee34b1c1067b6bce4540a71b8bb1ea81300543264bb74eb1057daa66ef4fe
@@ -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
 
@@ -30,6 +30,7 @@ $body-color: $dark;
30
30
 
31
31
  // Paragraphs
32
32
  $paragraph-margin-bottom: 1.8rem;
33
+ $code-color: $dark;
33
34
 
34
35
  // Typography - Font, line-height, and color for body text, headings, and more.
35
36
  $font-family-path: "/assets/fonts";
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jekyll-theme-centos v0.6.3 (https://gitlab.com/areguera/jekyll-theme-centos/)
2
+ * jekyll-theme-centos v0.6.8 (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
  */
@@ -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.3
4
+ version: 0.6.8
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-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 %}