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 +4 -4
- data/_includes/home/news-and-events.html +1 -1
- data/_includes/home/planet.html +1 -1
- data/_includes/post-nav-explorer.html +3 -3
- data/_layouts/home.html +1 -5
- data/_sass/centos/_main.scss +19 -0
- data/_sass/centos/centos.scss +1 -1
- data/_sass/centos/mixins/_aside-nav.scss +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd827ec543678e6b846c267a93c240867bad6f3676b48576b25b02adc612ac69
|
4
|
+
data.tar.gz: a95ef6cba07b3211e9d25715ea755869614e3550c975bbf1036328580cc88771
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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:
|
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 }} — {{ i.excerpt | strip_html }}</li>
|
10
10
|
{% endfor %}
|
data/_includes/home/planet.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
<ul>
|
6
6
|
{% assign entries = site.data.centos.planet %}
|
7
|
-
{% for i in entries limit:
|
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 }} — {{ 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="/
|
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
|
|
data/_sass/centos/_main.scss
CHANGED
@@ -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
|
|
data/_sass/centos/centos.scss
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* jekyll-theme-centos v0.6.
|
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
|
*/
|
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
|
+
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-
|
11
|
+
date: 2021-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|