jekyll-theme-centos 0.7.8 → 0.7.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/footer.html +3 -1
- data/_includes/post-nav-explorer.html +1 -1
- data/_includes/top.html +1 -1
- data/_layouts/aside.html +0 -7
- data/_layouts/default.html +1 -1
- data/_layouts/download-mirror.html +1 -0
- data/_layouts/home.html +1 -0
- data/_layouts/page.html +0 -3
- data/_layouts/search.html +1 -0
- data/_sass/centos/_footer.scss +7 -0
- data/_sass/centos/centos-httpd.scss +0 -2
- data/_sass/centos/centos.scss +1 -1
- data/_sass/centos/mixins/_aside-nav.scss +1 -6
- data/_sass/centos/mixins/_content.scss +1 -0
- data/assets/js/{copycode.js → customization.js} +11 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 682e4a9c2954020bc03944179b37220b4bdfdacbca57885513ec6ae7ec0111e0
|
4
|
+
data.tar.gz: 202767fded8eebf83b57a22b992ff77a345d8a27d342727b12dd24d0ad1ab1c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0de5c86c649f8fae0544830f6c3a478d7fb3a6eb54bd1d8990cf51366405e82c3ff4052935e7b066f311884d7ca49ba55c358877cce730a8e2849a384e33d3a
|
7
|
+
data.tar.gz: 89aa23b63ea5fb3d5eb66b287c2efaf2f3bf7980589ce35b059a76295f5b5fc243c8a58fa44b180aef4ee5a922caec9eb0d148e475479fb0b9079577d05480b2
|
data/_includes/footer.html
CHANGED
@@ -35,6 +35,8 @@
|
|
35
35
|
<p>Copyright © {{ site.time | date: "%Y" }} {{ site.data.centos.footer.copyright.author }} {% for item in site.data.centos.footer.copyright.legals %} | <a href="{{ item.link }}">{{ item.text }}</a>{% endfor %}</p>
|
36
36
|
</section>
|
37
37
|
</div>
|
38
|
-
|
39
38
|
</div>
|
39
|
+
|
40
|
+
{% include top.html %}
|
41
|
+
|
40
42
|
</footer>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
{% endif %}
|
7
7
|
<a href="{{ page.previous.url | remove:'index.html' }}"><button type="button" class="btn btn-light" 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
|
+
|
10
10
|
<div class="post__nav_explorer__feeds">
|
11
11
|
<a href="{{ "/feed.xml" | relative_url }}"><button type="button" class="btn btn-light" data-toggle="tooltip" data-placement="top" title="RSS"><i class="fas fa-rss"></i></button></a>
|
12
12
|
</div>
|
data/_includes/top.html
CHANGED
data/_layouts/aside.html
CHANGED
@@ -13,20 +13,13 @@ layout: default
|
|
13
13
|
|
14
14
|
<div class="aside__content__nav">
|
15
15
|
<div class="aside__nav__explorer">
|
16
|
-
{% include top.html %}
|
17
16
|
</div>
|
18
17
|
</div>
|
19
|
-
|
20
18
|
</article>
|
21
19
|
|
22
20
|
<aside class="aside__nav">
|
23
21
|
{% include breadcrumbs.html %}
|
24
22
|
{% include toc.html html=content %}
|
25
|
-
|
26
|
-
<div class="aside__nav__explorer">
|
27
|
-
{% include top.html %}
|
28
|
-
</div>
|
29
|
-
|
30
23
|
</aside>
|
31
24
|
|
32
25
|
</main>
|
data/_layouts/default.html
CHANGED
data/_layouts/home.html
CHANGED
data/_layouts/page.html
CHANGED
data/_layouts/search.html
CHANGED
data/_sass/centos/_footer.scss
CHANGED
data/_sass/centos/centos.scss
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* jekyll-theme-centos v0.7.
|
2
|
+
* jekyll-theme-centos v0.7.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
|
*/
|
@@ -16,7 +16,7 @@
|
|
16
16
|
&__section {
|
17
17
|
flex-direction: column;
|
18
18
|
overflow-y: auto;
|
19
|
-
height: 75vh;
|
19
|
+
max-height: 75vh;
|
20
20
|
}
|
21
21
|
}
|
22
22
|
|
@@ -27,13 +27,8 @@
|
|
27
27
|
@include media-breakpoint-up(xl) {
|
28
28
|
display: flex;
|
29
29
|
flex-flow: column nowrap;
|
30
|
-
height: 100vh;
|
31
30
|
position: sticky;
|
32
31
|
top: calc(#{$navbar-brand-height + $paragraph-margin-bottom} + 10px);
|
33
|
-
|
34
|
-
.toc {
|
35
|
-
flex: 1;
|
36
|
-
}
|
37
32
|
}
|
38
33
|
|
39
34
|
}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
// Copy code
|
1
2
|
// Thanks Aleksandr
|
2
3
|
// https://www.aleksandrhovhannisyan.com/blog/how-to-add-a-copy-to-clipboard-button-to-your-jekyll-blog/
|
3
4
|
const codeBlocks = document.querySelectorAll(".code-header + .highlighter-rouge");
|
@@ -16,3 +17,13 @@ copyCodeButtons.forEach((copyCodeButton, index) => {
|
|
16
17
|
}, 2000);
|
17
18
|
});
|
18
19
|
});
|
20
|
+
|
21
|
+
// Show top page button after scrolling down.
|
22
|
+
$("#topbtn").hide();
|
23
|
+
$(window).scroll(function() {
|
24
|
+
if ($(window).scrollTop() > 100) {
|
25
|
+
$("#topbtn").fadeIn("slow");
|
26
|
+
} else {
|
27
|
+
$("#topbtn").fadeOut("fast");
|
28
|
+
}
|
29
|
+
});
|
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.7.
|
4
|
+
version: 0.7.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-07-
|
11
|
+
date: 2021-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -350,7 +350,7 @@ files:
|
|
350
350
|
- assets/img/post.png
|
351
351
|
- assets/js/bootstrap.min.js
|
352
352
|
- assets/js/bootstrap.min.js.map
|
353
|
-
- assets/js/
|
353
|
+
- assets/js/customization.js
|
354
354
|
- assets/js/dataTables.bootstrap4.min.js
|
355
355
|
- assets/js/instantsearch.min.js
|
356
356
|
- assets/js/jquery.dataTables.min.js
|