jekyll-theme-centos 0.6.7 → 0.6.12

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: 05cdc9d4ffec3fa4afa800382c1f472e3a74d85886eca0258b0a15b2fea95ce9
4
- data.tar.gz: 4bc6dd7b4fff4746933eb27ac3d95da7ca7bf710d8cbbd831ef6e18e3c4eb3a4
3
+ metadata.gz: cd827ec543678e6b846c267a93c240867bad6f3676b48576b25b02adc612ac69
4
+ data.tar.gz: a95ef6cba07b3211e9d25715ea755869614e3550c975bbf1036328580cc88771
5
5
  SHA512:
6
- metadata.gz: 5aa312a261a42254c38fcd8389a37f95bf63f4278a6e4d0fa2ad779a6ef11d8ccbd5ee29ff9d1f4cfcebc720ffa3115dcf4e8638e414ede55fa398fa1bee9ded
7
- data.tar.gz: 9c118da3aba902211865d705740724d298a7e76e8256b05f3353e408b12d384cca5c8db8ab9a84bea24f3458fa534b207ea6a9f4ae1ca8afdfdf266fdd8e9a79
6
+ metadata.gz: d0c77b390aa74a3268613c9e8416b8542b70940795d870d8a63f4737f3c764fc71e21e2ef65c3f9e36c1ea1c093a720f558fdad5134c0e9cc14f0fcd8b213c7a
7
+ data.tar.gz: 8057de64b59ac5072bf549e33e3762ed12b0ce4cc63d32faee2a77b0e00e5bda4715126e7668b3b8bb42154b06006e7da05056c2985f1eae507e750ebdb6e19e
@@ -4,7 +4,7 @@
4
4
 
5
5
  <ul>
6
6
  {% assign blog_posts = site.posts | where: "category", "news-and-events" %}
7
- {% for i in blog_posts limit:4 %}
7
+ {% for i in blog_posts limit:5 %}
8
8
  {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
9
9
  <li><a href="{{ i.url }}">{{ i.title }}</a><br>{{ i.date | date: date_format }} &mdash; {{ i.excerpt | strip_html }}</li>
10
10
  {% endfor %}
@@ -4,7 +4,7 @@
4
4
 
5
5
  <ul>
6
6
  {% assign entries = site.data.centos.planet %}
7
- {% for i in entries limit:8 %}
7
+ {% for i in entries limit:5 %}
8
8
  {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
9
9
  <li><a href="{{ i.link }}">{{ i.title }}</a><br>{{ i.published | date: date_format }} &mdash; {{ i.summary | strip_html | slice: 0,150 }}...</li>
10
10
  {% endfor %}
@@ -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>
data/_layouts/home.html CHANGED
@@ -13,17 +13,13 @@
13
13
  <div class="row">
14
14
  <div class="col-sm-12 col-lg-8">
15
15
  {% include home/news-and-events.html %}
16
+ {% include home/planet.html -%}
16
17
  </div>
17
18
  <div class="col-sm-12 col-lg-4">
18
19
  {% include home/distributions.html -%}
19
20
  {% include home/sponsors.html %}
20
21
  </div>
21
22
  </div>
22
- <div class="row">
23
- <div class="col-sm-12">
24
- {% include home/planet.html -%}
25
- </div>
26
- </div>
27
23
  </div>
28
24
  </main>
29
25
 
@@ -52,6 +52,25 @@
52
52
  &__content {
53
53
  @extend .col-sm-12;
54
54
  @include content;
55
+ &__autoindex {
56
+ // The autoindex is not directly used by website content but by external
57
+ // sites (e.g., mirror.centos.org, people.centos.org and all the
58
+ // user-specific pages under it.
59
+ &__list {
60
+ padding-bottom: $paragraph-margin-bottom;
61
+ border-bottom: 1px solid lightgray;
62
+ }
63
+ img {
64
+ width: auto;
65
+ }
66
+ pre {
67
+ background: none;
68
+ border: none;
69
+ max-height: none;
70
+ overflow-y: hidden;
71
+ padding: 0;
72
+ }
73
+ }
55
74
  }
56
75
  }
57
76
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jekyll-theme-centos v0.6.7 (https://gitlab.com/areguera/jekyll-theme-centos/)
2
+ * jekyll-theme-centos v0.6.12 (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.7
4
+ version: 0.6.12
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-22 00:00:00.000000000 Z
11
+ date: 2021-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll