whiteblog-theme 0.1.6 → 0.1.7
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/head.html +13 -4
- data/_includes/scripts.html +2 -2
- data/_layouts/default.html +0 -2
- data/_pages/about.md +4 -1
- data/assets/images/bio-photo.webp +0 -0
- data/assets/js/main.js +17 -13
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 36a4c233b3d6621d70fc24d3c6cf722f4692f235d61824a746b85e7d1db3ec9c
|
|
4
|
+
data.tar.gz: 4892aa9f20adda332680928eddb5c6c03cc8a9ecb2ecf8d11ecb97f5fe551e32
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 824fbe475d2852dffe6d9276b61af0f0cfcbe367969efb5d812da23588df94e575c9a3812ddf364f392898bf2dc720d486d22561f9c51513c595a2aeb7dd1c11
|
|
7
|
+
data.tar.gz: a04cc892f6bf0b6ffb422c388f502c922a4d55b6ee4349847f5d7ea4cb7ba351700484324d787e562245705c371fc7100920551eb272fe2ff4ebe7a56ec1f66c
|
data/_includes/head.html
CHANGED
|
@@ -4,16 +4,25 @@
|
|
|
4
4
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
6
6
|
|
|
7
|
-
<
|
|
8
|
-
|
|
7
|
+
<title>{% if page.title %}{{ page.title }} | {{ site.title }}{% else %}{{ site.title }}{% endif %}</title>
|
|
8
|
+
<link rel="icon" type="image/x-icon" href="/assets/images/favicon.ico">
|
|
9
|
+
|
|
10
|
+
{% if page.description %}
|
|
11
|
+
<meta name="description" content="{{ page.description | escape }}">
|
|
12
|
+
{% elsif site.description %}
|
|
13
|
+
<meta name="description" content="{{ site.description | escape }}">
|
|
14
|
+
{% endif %}
|
|
15
|
+
|
|
16
|
+
<meta name="twitter:card" content="summary_large_image">
|
|
9
17
|
<meta name="twitter:image"
|
|
10
|
-
content="{{ site.url }}/assets/images/previews/{{ page.slug }}.png">
|
|
18
|
+
content="{{ site.url }}/assets/images/previews/{{ page.slug | default: 'default' }}.png">
|
|
11
19
|
<meta property="og:image"
|
|
12
|
-
content="{{ site.url }}/assets/images/previews/{{ page.slug }}.png">
|
|
20
|
+
content="{{ site.url }}/assets/images/previews/{{ page.slug | default: 'default' }}.png">
|
|
13
21
|
|
|
14
22
|
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
|
|
15
23
|
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
|
|
16
24
|
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
|
|
25
|
+
<link rel="sitemap" type="application/xml" href="{{ '/sitemap.xml' | relative_url }}">
|
|
17
26
|
|
|
18
27
|
{% if page.head_inline %}
|
|
19
28
|
{{ page.head_inline }}
|
data/_includes/scripts.html
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
})();
|
|
7
7
|
</script>
|
|
8
8
|
|
|
9
|
-
<script src="{{ '/assets/js/theme-toggle.js' | relative_url }}"></script>
|
|
10
|
-
<script src="{{ '/assets/js/main.js' | relative_url }}"></script>
|
|
9
|
+
<script defer src="{{ '/assets/js/theme-toggle.js' | relative_url }}"></script>
|
|
10
|
+
<script defer src="{{ '/assets/js/main.js' | relative_url }}"></script>
|
|
11
11
|
|
|
12
12
|
{% if site.analytics %}
|
|
13
13
|
{% include /analytics/googleAnalytics.html %}
|
data/_layouts/default.html
CHANGED
data/_pages/about.md
CHANGED
|
@@ -10,6 +10,9 @@ permalink: /about/
|
|
|
10
10
|
<p>Hi, I'm <b><i>Victor Silva</i></b>, a software engineer with a passion for development and security. I'm currently working at <a class="bounce-link" href="https://www.mercadolibre.com">Mercado Libre</a> as a Cloud Security Engineer. You can check out my personal blog <a class="bounce-link" href="https://blog.victorsilva.com.uy">$blogTopics | % {echo $_}</a></p>
|
|
11
11
|
</div>
|
|
12
12
|
<div class="center">
|
|
13
|
-
<
|
|
13
|
+
<picture>
|
|
14
|
+
<source srcset="{{ site.author.about-photo | replace: '.jpg', '.webp' }}" type="image/webp">
|
|
15
|
+
<img class="about-image" src="{{ site.author.about-photo }}" alt="{{ site.author.name }}" loading="lazy">
|
|
16
|
+
</picture>
|
|
14
17
|
</div>
|
|
15
18
|
</div>
|
|
Binary file
|
data/assets/js/main.js
CHANGED
|
@@ -28,19 +28,23 @@ blocks.forEach((block) => {
|
|
|
28
28
|
async function copyCode(block, button) {
|
|
29
29
|
let code = block.querySelector("code");
|
|
30
30
|
let text = code.innerText;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
31
|
+
|
|
32
|
+
try {
|
|
33
|
+
await navigator.clipboard.writeText(text);
|
|
34
|
+
button.innerHTML = checkmarkSVG;
|
|
35
|
+
button.style.backgroundColor = "green";
|
|
36
|
+
button.style.color = "white";
|
|
37
|
+
button.style.borderRadius = "4px";
|
|
38
|
+
|
|
39
|
+
setTimeout(() => {
|
|
40
|
+
button.innerHTML = copyButtonSVG;
|
|
41
|
+
button.style.backgroundColor = "";
|
|
42
|
+
button.style.color = "";
|
|
43
|
+
}, 1000);
|
|
44
|
+
} catch (err) {
|
|
45
|
+
button.innerHTML = "Error";
|
|
46
|
+
setTimeout(() => { button.innerHTML = copyButtonSVG; }, 1500);
|
|
47
|
+
}
|
|
44
48
|
}
|
|
45
49
|
|
|
46
50
|
let mainNav = document.getElementById("js-menu");
|
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.1.
|
|
4
|
+
version: 0.1.7
|
|
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-04-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -112,6 +112,7 @@ files:
|
|
|
112
112
|
- assets/css/previews.css
|
|
113
113
|
- assets/images/avatar.jpg
|
|
114
114
|
- assets/images/bio-photo.jpg
|
|
115
|
+
- assets/images/bio-photo.webp
|
|
115
116
|
- assets/images/favicon.ico
|
|
116
117
|
- assets/images/ko-fi.png
|
|
117
118
|
- assets/images/previews/hello-world.png
|