whiteblog-theme 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/comments-providers/cusdis.html +1 -1
- data/_includes/comments-providers/giscus.html +17 -0
- data/_includes/comments.html +2 -0
- data/_includes/sidebar.html +4 -1
- data/_sass/whiteblog-theme/_layout.scss +11 -4
- data/assets/images/avatar.webp +0 -0
- data/assets/js/main.js +2 -5
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c55a6469e871c37d6992a2f2cbc000ba7ce371419735c0feaaa92ed8e2b7ad74
|
|
4
|
+
data.tar.gz: bbfc901e9a5012fed0115321db4a9ac8b69ea8fba2cbcf589018496205768cb1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 178701079f4b6127df1723e13120db1e703ab576ba99b3357046c038b4900b7db55c7682a5c99b6b8803ce712294ca9583cca29b9a192abe969b9b57434d0652
|
|
7
|
+
data.tar.gz: 28eb1f5affb6aaf59ae2b450e9724c4bc6166181620bbfd962b50c57cdb2c1c7aa0b50c27135cc7a8cf9991938bde1908062995004d60f3d2353bed65ef61f4d
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{% if site.comments.giscus.repo %}
|
|
2
|
+
<script src="https://giscus.app/client.js"
|
|
3
|
+
data-repo="{{ site.comments.giscus.repo }}"
|
|
4
|
+
data-repo-id="{{ site.comments.giscus.repo_id }}"
|
|
5
|
+
data-category="{{ site.comments.giscus.category }}"
|
|
6
|
+
data-category-id="{{ site.comments.giscus.category_id }}"
|
|
7
|
+
data-mapping="{{ site.comments.giscus.mapping | default: 'pathname' }}"
|
|
8
|
+
data-strict="0"
|
|
9
|
+
data-reactions-enabled="{{ site.comments.giscus.reactions_enabled | default: '1' }}"
|
|
10
|
+
data-emit-metadata="0"
|
|
11
|
+
data-input-position="{{ site.comments.giscus.input_position | default: 'top' }}"
|
|
12
|
+
data-theme="{{ site.comments.giscus.theme | default: 'preferred_color_scheme' }}"
|
|
13
|
+
data-lang="{{ site.comments.giscus.lang | default: 'en' }}"
|
|
14
|
+
crossorigin="anonymous"
|
|
15
|
+
async>
|
|
16
|
+
</script>
|
|
17
|
+
{% endif %}
|
data/_includes/comments.html
CHANGED
data/_includes/sidebar.html
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
<aside>
|
|
2
2
|
<section class="author-info">
|
|
3
3
|
<!-- <h2>Sobre el Autor</h2> -->
|
|
4
|
-
<
|
|
4
|
+
<picture>
|
|
5
|
+
<source srcset="{{ site.author.avatar | replace: '.jpg', '.webp' | replace: '.jpeg', '.webp' | replace: '.png', '.webp' }}" type="image/webp">
|
|
6
|
+
<img class="about-image-small" src="{{ site.author.avatar }}" alt="{{ site.author.name }}" loading="lazy">
|
|
7
|
+
</picture>
|
|
5
8
|
<h2>{{ site.author.name }}</h2>
|
|
6
9
|
</section>
|
|
7
10
|
<section class="useful-links">
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
--color-code: #D63384;
|
|
11
11
|
--color-code-bg: #282a36;
|
|
12
12
|
--color-notice: #CFBAE1;
|
|
13
|
+
--color-success: #28a745;
|
|
13
14
|
--font-main: 'Space Grotesk', system-ui, -apple-system, sans-serif;
|
|
14
15
|
--container-width: 90%;
|
|
15
16
|
--transition-default: all 0.3s ease-in-out;
|
|
@@ -481,7 +482,7 @@ p {
|
|
|
481
482
|
.text-secondary {
|
|
482
483
|
min-height: 28px;
|
|
483
484
|
font-weight: 700;
|
|
484
|
-
margin-bottom: 8px
|
|
485
|
+
margin-bottom: 8px;
|
|
485
486
|
display: flex;
|
|
486
487
|
align-items: center;
|
|
487
488
|
gap: 12px;
|
|
@@ -528,7 +529,7 @@ blockquote p {
|
|
|
528
529
|
border-radius: 0.25rem;
|
|
529
530
|
padding: 1rem 1rem;
|
|
530
531
|
overflow: auto;
|
|
531
|
-
background-color: var(--color-code-bg)
|
|
532
|
+
background-color: var(--color-code-bg);
|
|
532
533
|
white-space: pre-wrap;
|
|
533
534
|
min-width: 100%;
|
|
534
535
|
}
|
|
@@ -543,6 +544,12 @@ blockquote p {
|
|
|
543
544
|
padding: 0.25rem;
|
|
544
545
|
}
|
|
545
546
|
|
|
547
|
+
.highlight pre button.copy-success {
|
|
548
|
+
background-color: var(--color-success);
|
|
549
|
+
color: white;
|
|
550
|
+
border-radius: 4px;
|
|
551
|
+
}
|
|
552
|
+
|
|
546
553
|
.post .text-justify#content ol {
|
|
547
554
|
margin-left: 2rem;
|
|
548
555
|
margin-bottom: 1rem;
|
|
@@ -560,7 +567,7 @@ ul {
|
|
|
560
567
|
}
|
|
561
568
|
|
|
562
569
|
.archive-group th {
|
|
563
|
-
text-align: start
|
|
570
|
+
text-align: start;
|
|
564
571
|
padding-right: 0.5rem;
|
|
565
572
|
min-width: 150px;
|
|
566
573
|
}
|
|
@@ -591,7 +598,7 @@ svg {
|
|
|
591
598
|
}
|
|
592
599
|
|
|
593
600
|
.social-networks-icons {
|
|
594
|
-
vertical-align: unset
|
|
601
|
+
vertical-align: unset;
|
|
595
602
|
}
|
|
596
603
|
|
|
597
604
|
.float-abajo {
|
|
Binary file
|
data/assets/js/main.js
CHANGED
|
@@ -32,14 +32,11 @@ async function copyCode(block, button) {
|
|
|
32
32
|
try {
|
|
33
33
|
await navigator.clipboard.writeText(text);
|
|
34
34
|
button.innerHTML = checkmarkSVG;
|
|
35
|
-
button.
|
|
36
|
-
button.style.color = "white";
|
|
37
|
-
button.style.borderRadius = "4px";
|
|
35
|
+
button.classList.add("copy-success");
|
|
38
36
|
|
|
39
37
|
setTimeout(() => {
|
|
40
38
|
button.innerHTML = copyButtonSVG;
|
|
41
|
-
button.
|
|
42
|
-
button.style.color = "";
|
|
39
|
+
button.classList.remove("copy-success");
|
|
43
40
|
}, 1000);
|
|
44
41
|
} catch (err) {
|
|
45
42
|
button.innerHTML = "Error";
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: whiteblog-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Victor Silva
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-05-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -85,6 +85,7 @@ files:
|
|
|
85
85
|
- _includes/backtotop.html
|
|
86
86
|
- _includes/comments-providers/cusdis.html
|
|
87
87
|
- _includes/comments-providers/disqus.html
|
|
88
|
+
- _includes/comments-providers/giscus.html
|
|
88
89
|
- _includes/comments.html
|
|
89
90
|
- _includes/footer.html
|
|
90
91
|
- _includes/gallery
|
|
@@ -111,6 +112,7 @@ files:
|
|
|
111
112
|
- assets/css/main.scss
|
|
112
113
|
- assets/css/previews.css
|
|
113
114
|
- assets/images/avatar.jpg
|
|
115
|
+
- assets/images/avatar.webp
|
|
114
116
|
- assets/images/bio-photo.jpg
|
|
115
117
|
- assets/images/bio-photo.webp
|
|
116
118
|
- assets/images/favicon.ico
|