whiteblog-theme 0.0.22 → 0.0.23
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.html +7 -0
- data/_includes/sidebar.html +7 -1
- data/_layouts/default.html +1 -3
- data/_layouts/home.html +92 -105
- data/_layouts/page.html +12 -13
- data/_layouts/post.html +62 -54
- data/_pages/about.md +1 -1
- data/_sass/whiteblog-theme/_layout.scss +37 -9
- 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: 3688269f0b1b4ae59d8e5ee925e9f4779e5cb4aecf385fdd811fcf4ca5741ddb
|
4
|
+
data.tar.gz: 18208a05bcf8c13bf27f88a9768cd7d717559293b5370b56adc7a45c8db6318a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: daad27aef48fede0b1858e91dc4cddd6415763eb6d7db59f3fc407a1de399080b03b84d0add87a385f352bcffb829cdaf95113e9cd6ccfa7d08dcfc5d51dfdcc
|
7
|
+
data.tar.gz: 808a02ae98152f9b30a43069b311d8c3b4a0032f5b5042117b0240af10e80f259470631e9738f0c33ada2501608bd07f64848c1388b06a79f61fbdf1d3a88baa
|
data/_includes/sidebar.html
CHANGED
@@ -5,6 +5,12 @@
|
|
5
5
|
<h2>{{ site.author.name }}</h2>
|
6
6
|
</section>
|
7
7
|
<section class="useful-links">
|
8
|
-
<
|
8
|
+
<span>
|
9
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24">
|
10
|
+
<path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z" fill="#000000"/>
|
11
|
+
</svg>
|
12
|
+
<p>{{ site.author.location }}</p>
|
13
|
+
</span>
|
14
|
+
|
9
15
|
</section>
|
10
16
|
</aside>
|
data/_layouts/default.html
CHANGED
data/_layouts/home.html
CHANGED
@@ -1,116 +1,103 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
|
5
|
-
<article class="post">
|
6
|
-
|
7
|
-
|
8
|
-
{% assign posts = site.posts %}
|
9
|
-
|
10
|
-
<ul>
|
11
|
-
{% assign date_format = "%b %-d, %Y" %}
|
12
|
-
{% for post in paginator.posts %}
|
13
|
-
<li class="post-resume">
|
14
|
-
<h1 class="post-resume-title">
|
15
|
-
<a href="{{ post.url | relative_url }}">
|
16
|
-
<span class="underline">{{ post.title | escape }}</span>
|
17
|
-
</a>
|
18
|
-
</h1>
|
19
|
-
<span class="text-secondary">{{ post.date | date: date_format }}</span>
|
20
|
-
|
21
|
-
<div>
|
22
|
-
{{ post.excerpt }}
|
23
|
-
</div>
|
24
|
-
</li>
|
25
|
-
{% endfor %}
|
26
|
-
</ul>
|
27
|
-
|
28
|
-
{% if paginator.total_pages > 1 %}
|
29
|
-
<nav class="pagination">
|
30
|
-
{% assign first_page_path = site.paginate_path | replace: 'page:num', '' | replace: '//', '/' | absolute_url %}
|
4
|
+
<div class="container" id="post">
|
5
|
+
<article class="post">
|
6
|
+
<div id="content">
|
7
|
+
{% assign posts = site.posts %}
|
31
8
|
<ul>
|
32
|
-
{%
|
33
|
-
{%
|
34
|
-
|
35
|
-
<
|
36
|
-
<a href="{{
|
37
|
-
<span class="
|
9
|
+
{% assign date_format = "%b %-d, %Y" %}
|
10
|
+
{% for post in paginator.posts %}
|
11
|
+
<li class="post-resume">
|
12
|
+
<h1 class="post-resume-title">
|
13
|
+
<a href="{{ post.url | relative_url }}">
|
14
|
+
<span class="underline">{{ post.title | escape }}</span>
|
38
15
|
</a>
|
39
|
-
</
|
16
|
+
</h1>
|
17
|
+
<span class="text-secondary">{{ post.date | date: date_format }}</span>
|
18
|
+
<div>
|
19
|
+
{{ post.excerpt }}
|
20
|
+
</div>
|
21
|
+
</li>
|
22
|
+
{% endfor %}
|
23
|
+
</ul>
|
24
|
+
{% if paginator.total_pages > 1 %}
|
25
|
+
<nav class="pagination">
|
26
|
+
{% assign first_page_path = site.paginate_path | replace: 'page:num', '' | replace: '//', '/' | absolute_url %}
|
27
|
+
<ul>
|
28
|
+
{% comment %} Link for previous page {% endcomment %}
|
29
|
+
{% if paginator.previous_page %}
|
30
|
+
{% if paginator.previous_page == 1 %}
|
31
|
+
<li>
|
32
|
+
<a href="{{ first_page_path }}">
|
33
|
+
<span class="chevron left"></span>
|
34
|
+
</a>
|
35
|
+
</li>
|
36
|
+
{% else %}
|
37
|
+
<li>
|
38
|
+
<a href="{{ site.paginate_path | replace: ':num', paginator.previous_page | replace: '//', '/' | absolute_url }}">
|
39
|
+
<span class="chevron left"></span>
|
40
|
+
</a>
|
41
|
+
</li>
|
42
|
+
{% endif %}
|
43
|
+
{% else %}
|
44
|
+
<li><a href="#" class="disabled"><span id="previous-page" aria-hidden="true"></span></a></li>
|
45
|
+
{% endif %}
|
46
|
+
{% comment %} First page {% endcomment %}
|
47
|
+
{% if paginator.page == 1 %}
|
48
|
+
<li><a href="#" class="disabled current">1</a></li>
|
49
|
+
{% else %}
|
50
|
+
<li><a href="{{ first_page_path }}">1</a></li>
|
51
|
+
{% endif %}
|
52
|
+
{% assign page_start = 2 %}
|
53
|
+
{% if paginator.page > 4 %}
|
54
|
+
{% assign page_start = paginator.page | minus: 2 %}
|
55
|
+
{% comment %} Ellipsis for truncated links {% endcomment %}
|
56
|
+
<li><a href="#" class="disabled">…</a></li>
|
57
|
+
{% endif %}
|
58
|
+
{% assign page_end = paginator.total_pages | minus: 1 %}
|
59
|
+
{% assign pages_to_end = paginator.total_pages | minus: paginator.page %}
|
60
|
+
{% if pages_to_end > 4 %}
|
61
|
+
{% assign page_end = paginator.page | plus: 2 %}
|
62
|
+
{% endif %}
|
63
|
+
{% for index in (page_start..page_end) %}
|
64
|
+
{% if index == paginator.page %}
|
65
|
+
<li><a href="{{ site.paginate_path | replace: ':num', index | replace: '//', '/' | absolute_url }}" class="disabled current">{{ index }}</a></li>
|
66
|
+
{% else %}
|
67
|
+
{% comment %} Distance from current page and this link {% endcomment %}
|
68
|
+
{% assign dist = paginator.page | minus: index %}
|
69
|
+
{% if dist < 0 %}
|
70
|
+
{% comment %} Distance must be a positive value {% endcomment %}
|
71
|
+
{% assign dist = 0 | minus: dist %}
|
72
|
+
{% endif %}
|
73
|
+
<li><a href="{{ site.paginate_path | replace: ':num', index | absolute_url }}">{{ index }}</a></li>
|
74
|
+
{% endif %}
|
75
|
+
{% endfor %}
|
76
|
+
{% comment %} Ellipsis for truncated links {% endcomment %}
|
77
|
+
{% if pages_to_end > 3 %}
|
78
|
+
<li><a href="#" class="disabled">…</a></li>
|
79
|
+
{% endif %}
|
80
|
+
{% if paginator.page == paginator.total_pages %}
|
81
|
+
<li><a href="#" class="disabled current">{{ paginator.page }}</a></li>
|
40
82
|
{% else %}
|
83
|
+
<li><a href="{{ site.paginate_path | replace: ':num', paginator.total_pages | replace: '//', '/' | absolute_url }}">{{ paginator.total_pages }}</a></li>
|
84
|
+
{% endif %}
|
85
|
+
{% comment %} Link next page {% endcomment %}
|
86
|
+
{% if paginator.next_page %}
|
41
87
|
<li>
|
42
|
-
<a href="{{ site.paginate_path | replace: ':num', paginator.
|
43
|
-
<span class="chevron
|
88
|
+
<a href="{{ site.paginate_path | replace: ':num', paginator.next_page | replace: '//', '/' | absolute_url }}">
|
89
|
+
<span class="chevron right"></span>
|
44
90
|
</a>
|
45
91
|
</li>
|
46
|
-
{% endif %}
|
47
|
-
{% else %}
|
48
|
-
<li><a href="#" class="disabled"><span id="previous-page" aria-hidden="true"></span></a></li>
|
49
|
-
{% endif %}
|
50
|
-
|
51
|
-
{% comment %} First page {% endcomment %}
|
52
|
-
{% if paginator.page == 1 %}
|
53
|
-
<li><a href="#" class="disabled current">1</a></li>
|
54
|
-
{% else %}
|
55
|
-
<li><a href="{{ first_page_path }}">1</a></li>
|
56
|
-
{% endif %}
|
57
|
-
|
58
|
-
{% assign page_start = 2 %}
|
59
|
-
{% if paginator.page > 4 %}
|
60
|
-
{% assign page_start = paginator.page | minus: 2 %}
|
61
|
-
{% comment %} Ellipsis for truncated links {% endcomment %}
|
62
|
-
<li><a href="#" class="disabled">…</a></li>
|
63
|
-
{% endif %}
|
64
|
-
|
65
|
-
{% assign page_end = paginator.total_pages | minus: 1 %}
|
66
|
-
{% assign pages_to_end = paginator.total_pages | minus: paginator.page %}
|
67
|
-
{% if pages_to_end > 4 %}
|
68
|
-
{% assign page_end = paginator.page | plus: 2 %}
|
69
|
-
{% endif %}
|
70
|
-
|
71
|
-
{% for index in (page_start..page_end) %}
|
72
|
-
{% if index == paginator.page %}
|
73
|
-
<li><a href="{{ site.paginate_path | replace: ':num', index | replace: '//', '/' | absolute_url }}" class="disabled current">{{ index }}</a></li>
|
74
92
|
{% else %}
|
75
|
-
|
76
|
-
{% assign dist = paginator.page | minus: index %}
|
77
|
-
{% if dist < 0 %}
|
78
|
-
{% comment %} Distance must be a positive value {% endcomment %}
|
79
|
-
{% assign dist = 0 | minus: dist %}
|
80
|
-
{% endif %}
|
81
|
-
<li><a href="{{ site.paginate_path | replace: ':num', index | absolute_url }}">{{ index }}</a></li>
|
93
|
+
<li><a href="#" class="disabled"><span class="chevron right" aria-hidden="true"></span></a></li>
|
82
94
|
{% endif %}
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
{% else %}
|
93
|
-
<li><a href="{{ site.paginate_path | replace: ':num', paginator.total_pages | replace: '//', '/' | absolute_url }}">{{ paginator.total_pages }}</a></li>
|
94
|
-
{% endif %}
|
95
|
-
|
96
|
-
{% comment %} Link next page {% endcomment %}
|
97
|
-
{% if paginator.next_page %}
|
98
|
-
<li>
|
99
|
-
<a href="{{ site.paginate_path | replace: ':num', paginator.next_page | replace: '//', '/' | absolute_url }}">
|
100
|
-
<span class="chevron right"></span>
|
101
|
-
</a>
|
102
|
-
</li>
|
103
|
-
{% else %}
|
104
|
-
<li><a href="#" class="disabled"><span class="chevron right" aria-hidden="true"></span></a></li>
|
105
|
-
{% endif %}
|
106
|
-
</ul>
|
107
|
-
</nav>
|
108
|
-
{% endif %}
|
109
|
-
|
110
|
-
|
111
|
-
{% if site.plugins contains "jekyll-feed" %}
|
112
|
-
<a href="{{ "/feed.xml" | relative_url }}"><div id="rss-icon" class="mb-2"></div></a>
|
113
|
-
{% endif %}
|
114
|
-
|
115
|
-
</div>
|
116
|
-
</article>
|
95
|
+
</ul>
|
96
|
+
</nav>
|
97
|
+
{% endif %}
|
98
|
+
{% if site.plugins contains "jekyll-feed" %}
|
99
|
+
<a href="{{ "/feed.xml" | relative_url }}"><div id="rss-icon" class="mb-2"></div></a>
|
100
|
+
{% endif %}
|
101
|
+
</div>
|
102
|
+
</article>
|
103
|
+
</div>
|
data/_layouts/page.html
CHANGED
@@ -1,16 +1,15 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
<
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
</
|
15
|
-
|
16
|
-
</article>
|
4
|
+
<div class="container" id="post">
|
5
|
+
<article class="post">
|
6
|
+
<header>
|
7
|
+
<h1>
|
8
|
+
<span class="underline">{{ page.title }}</span>
|
9
|
+
</h1>
|
10
|
+
</header>
|
11
|
+
<div id="content">
|
12
|
+
{{ content }}
|
13
|
+
</div>
|
14
|
+
</article>
|
15
|
+
</div>
|
data/_layouts/post.html
CHANGED
@@ -1,67 +1,75 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
<
|
4
|
+
<div class="container">
|
5
|
+
<article class="post">
|
5
6
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
7
|
+
<div id="posts-navigation" class="row">
|
8
|
+
<div class="previous">
|
9
|
+
{% if page.previous.url %}
|
10
|
+
<a href="{{page.previous.url}}" class="nav-btn prev-btn" title="{{page.previous.title}}">
|
11
|
+
<span class="chevron left"></span>
|
11
12
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
13
|
+
</a>
|
14
|
+
{% endif %}
|
15
|
+
</div>
|
16
|
+
<div class="next">
|
17
|
+
{% if page.next.url %}
|
18
|
+
<a href="{{page.next.url}}" class="nav-btn next-btn" title="{{page.next.title}}">
|
19
|
+
<span class="chevron right"></span>
|
20
|
+
</a>
|
21
|
+
{% endif %}
|
22
|
+
</div>
|
21
23
|
</div>
|
22
|
-
</div>
|
23
24
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
25
|
+
<header>
|
26
|
+
<h1>
|
27
|
+
<span class="underline">{{ page.title | escape }}</span>
|
28
|
+
</h1>
|
29
|
+
<p class="text-secondary">
|
30
|
+
<time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
31
|
+
{% assign date_format = site.theme.date_format | default: "%b %-d, %Y" %}
|
32
|
+
{{ page.date | date: date_format }}
|
33
|
+
</time><span style="display:inline-block; width: 6px;"></span>
|
34
|
+
{% if post %}
|
35
|
+
{% assign categories = post.categories %}
|
36
|
+
{% else %}
|
37
|
+
{% assign categories = page.categories %}
|
38
|
+
{% endif %}
|
39
|
+
<h5 id="category-badge">
|
40
|
+
{% for category in categories %}
|
41
|
+
<a href="{{site.baseurl}}/categories/#{{category|slugize}}" class="badge" >{{category}}</a>
|
42
|
+
{% unless forloop.last %} {% endunless %}
|
43
|
+
{% endfor %}
|
44
|
+
</h5>
|
45
|
+
</p>
|
46
|
+
</header>
|
46
47
|
|
47
|
-
|
48
|
-
|
49
|
-
|
48
|
+
<div class="text-justify" id="content">
|
49
|
+
{{ content }}
|
50
|
+
</div>
|
50
51
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
52
|
+
<div class="row">
|
53
|
+
{% if site.comments.provider%}
|
54
|
+
{% include comments.html %}
|
55
|
+
{% endif %}
|
56
|
+
</div>
|
57
|
+
|
58
|
+
<div class="row">
|
59
|
+
{% if site.addons.share_post %}
|
60
|
+
{% include sharepost.html %}
|
61
|
+
{% endif %}
|
55
62
|
|
56
|
-
|
57
|
-
|
58
|
-
|
63
|
+
{% if site.addons.back_to_top %}
|
64
|
+
{% include backtotop.html %}
|
65
|
+
{% endif %}
|
59
66
|
|
60
|
-
|
61
|
-
|
62
|
-
|
67
|
+
{% if site.comments.provider%}
|
68
|
+
{% if site.comments.provider == "disqus" %}
|
69
|
+
{% include comments-providers/disqus.html %}
|
70
|
+
{% endif %}
|
63
71
|
{% endif %}
|
64
|
-
|
65
|
-
</div>
|
72
|
+
</div>
|
66
73
|
|
67
|
-
</article>
|
74
|
+
</article>
|
75
|
+
</div>
|
data/_pages/about.md
CHANGED
@@ -7,7 +7,7 @@ permalink: /about/
|
|
7
7
|
|
8
8
|
<div class="row">
|
9
9
|
<div class="center">
|
10
|
-
<p>Hi, I'm Victor Silva, a software engineer with a passion for
|
10
|
+
<p>Hi, I'm Victor Silva, a software engineer with a passion for development and security. I'm currently working at <a href="https://www.mercadolibre.com">Mercado Libre</a> as a Cloud Security Engineer. You can check out my personal blog at <a href="https://blog.victorsilva.com.uy">Victor Silva Blog</a></p>
|
11
11
|
</div>
|
12
12
|
<div class="center">
|
13
13
|
<img class="about-image" src="{{ site.author.avatar }}" alt="{{ site.author.name }}" />
|
@@ -57,20 +57,25 @@ aside {
|
|
57
57
|
margin-top: 5rem;
|
58
58
|
}
|
59
59
|
|
60
|
+
.useful-links {
|
61
|
+
padding: 1rem 1rem 0 0;
|
62
|
+
span {
|
63
|
+
display: flex;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
60
67
|
.container-nav {
|
61
68
|
max-width: var(--container-width);
|
62
69
|
margin: 0 auto;
|
63
70
|
}
|
64
71
|
|
65
72
|
.container {
|
66
|
-
|
67
|
-
margin: 0 auto;
|
73
|
+
padding-left: 1rem;
|
68
74
|
}
|
69
75
|
|
70
76
|
main {
|
71
77
|
padding-bottom: 4rem;
|
72
|
-
|
73
|
-
// min-width: 0;
|
78
|
+
min-width: 70%;
|
74
79
|
}
|
75
80
|
|
76
81
|
.navbar {
|
@@ -287,10 +292,14 @@ a#blog-title:focus::before {
|
|
287
292
|
}
|
288
293
|
|
289
294
|
.post {
|
290
|
-
padding:
|
295
|
+
padding: 0rem 0 6rem;
|
291
296
|
width: 100%;
|
292
297
|
}
|
293
298
|
|
299
|
+
#post {
|
300
|
+
padding-top: 3rem;
|
301
|
+
}
|
302
|
+
|
294
303
|
.notice {
|
295
304
|
background-color: var(--color-notice);
|
296
305
|
border-color: var(--color-notice);
|
@@ -306,9 +315,9 @@ a#blog-title:focus::before {
|
|
306
315
|
}
|
307
316
|
|
308
317
|
#posts-navigation {
|
309
|
-
padding-bottom:
|
318
|
+
padding-bottom: .5rem;
|
310
319
|
bottom: 0;
|
311
|
-
min-height:
|
320
|
+
min-height: 4rem;
|
312
321
|
}
|
313
322
|
|
314
323
|
p {
|
@@ -317,7 +326,6 @@ p {
|
|
317
326
|
|
318
327
|
.row {
|
319
328
|
display: grid;
|
320
|
-
flex-wrap: wrap;
|
321
329
|
grid-template-columns: 1fr 1fr;
|
322
330
|
font-size: 20px;
|
323
331
|
* {
|
@@ -373,7 +381,6 @@ blockquote {
|
|
373
381
|
align-items: center;
|
374
382
|
}
|
375
383
|
|
376
|
-
|
377
384
|
blockquote p {
|
378
385
|
margin-bottom: 0;
|
379
386
|
}
|
@@ -659,6 +666,27 @@ svg {
|
|
659
666
|
padding: 0.5rem 0;
|
660
667
|
border-bottom: 1px solid #ccc;
|
661
668
|
}
|
669
|
+
|
670
|
+
.main-wrapper {
|
671
|
+
display: block;
|
672
|
+
}
|
673
|
+
|
674
|
+
aside {
|
675
|
+
display: flex;
|
676
|
+
border-right: none;
|
677
|
+
margin-top: 1rem;
|
678
|
+
.author-info {
|
679
|
+
width: 30%;
|
680
|
+
}
|
681
|
+
.useful-links {
|
682
|
+
width: 70%;
|
683
|
+
}
|
684
|
+
}
|
685
|
+
|
686
|
+
.about-image-small {
|
687
|
+
width: 70px;
|
688
|
+
height: 70px;
|
689
|
+
}
|
662
690
|
|
663
691
|
.container {
|
664
692
|
padding: 0 1rem;
|
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.0.
|
4
|
+
version: 0.0.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Victor Silva
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -78,6 +78,7 @@ files:
|
|
78
78
|
- _includes/analytics/googleAnalytics.html
|
79
79
|
- _includes/backtotop.html
|
80
80
|
- _includes/comments-providers/disqus.html
|
81
|
+
- _includes/comments.html
|
81
82
|
- _includes/footer.html
|
82
83
|
- _includes/gallery
|
83
84
|
- _includes/head.html
|