whiteblog-theme 0.0.22 → 0.1.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.html +7 -0
- data/_includes/footer.html +14 -8
- data/_includes/sidebar.html +64 -2
- data/_layouts/categories.html +31 -25
- data/_layouts/default.html +1 -3
- data/_layouts/home.html +94 -105
- data/_layouts/page-wide.html +3 -1
- data/_layouts/page.html +15 -13
- data/_layouts/post.html +62 -54
- data/_pages/about.md +1 -1
- data/_sass/whiteblog-theme/_layout.scss +65 -23
- 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: cd0e47022638da00decd98047cf8046481eec255634fec20a729908f613e6386
|
4
|
+
data.tar.gz: 1a5950dadfee40fb42690ce7e9c6bea3a20ecd3915db64c33fcdc9e07ffdc586
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 860460c43aeac71be137e504663712d65e7501bf9559149a3f7f67e95c96ef4f8bc4131674308e6ef54cc71184362d5b9cb5b5f6a98ba09c00720925b47c52be
|
7
|
+
data.tar.gz: 6e6aa8b325a4adc4003fafc0d160021d3480caad20fa6283e4c60fb1510737b99aefb171a0f75947d344bcfce334fde43ceec1c0baee93a31301eafa3481d80e
|
data/_includes/footer.html
CHANGED
@@ -1,16 +1,22 @@
|
|
1
1
|
<footer id="site-footer">
|
2
|
-
<div class="container">
|
2
|
+
<div class="container-nav">
|
3
3
|
<div>
|
4
4
|
<p>
|
5
|
-
Made with
|
6
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-suit-heart-fill"
|
7
|
-
|
5
|
+
Made with
|
6
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-suit-heart-fill"
|
7
|
+
viewBox="0 0 16 16">
|
8
|
+
<path
|
9
|
+
d="M4 1c2.21 0 4 1.755 4 3.92C8 2.755 9.79 1 12 1s4 1.755 4 3.92c0 3.263-3.234 4.414-7.608 9.608a.513.513 0 0 1-.784 0C3.234 9.334 0 8.183 0 4.92 0 2.755 1.79 1 4 1" />
|
8
10
|
</svg>
|
9
|
-
and
|
10
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-cup-fill"
|
11
|
-
|
11
|
+
and
|
12
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-cup-fill"
|
13
|
+
viewBox="0 0 16 16">
|
14
|
+
<path fill-rule="evenodd"
|
15
|
+
d="M.11 3.187A.5.5 0 0 1 .5 3h13a.5.5 0 0 1 .488.608l-.22.991a3.001 3.001 0 0 1-1.3 5.854l-.132.59A2.5 2.5 0 0 1 9.896 13H4.104a2.5 2.5 0 0 1-2.44-1.958L.012 3.608a.5.5 0 0 1 .098-.42Zm12.574 6.288a2 2 0 0 0 .866-3.899z" />
|
12
16
|
</svg>
|
13
|
-
. Powered by <a class="link" href="https://jekyllrb.com/">Jekyll</a> and <a class="link"
|
17
|
+
. Powered by <a class="link" href="https://jekyllrb.com/">Jekyll</a> and <a class="link"
|
18
|
+
href="https://github.com/vmsilvamolina/whiteblog-theme">whiteblog-theme</a> .
|
19
|
+
</p>
|
14
20
|
</div>
|
15
21
|
</div>
|
16
22
|
</footer>
|
data/_includes/sidebar.html
CHANGED
@@ -5,6 +5,68 @@
|
|
5
5
|
<h2>{{ site.author.name }}</h2>
|
6
6
|
</section>
|
7
7
|
<section class="useful-links">
|
8
|
-
<
|
8
|
+
<ul>
|
9
|
+
{% if site.author.location %}
|
10
|
+
<li>
|
11
|
+
<span>
|
12
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24">
|
13
|
+
<path
|
14
|
+
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"
|
15
|
+
fill="#000000" />
|
16
|
+
</svg>
|
17
|
+
<p>{{ site.author.location }}</p>
|
18
|
+
</span>
|
19
|
+
</li>
|
20
|
+
{% endif %}
|
21
|
+
<ul class="horizontal">
|
22
|
+
{% if site.author.x %}
|
23
|
+
<li>
|
24
|
+
<a class="link" href="https://x.com/{{ site.author.x }}" target="_blank" rel="noopener"
|
25
|
+
title="X.com">
|
26
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor"
|
27
|
+
class="social-networks-icons" viewBox="0 0 16 16">
|
28
|
+
<path
|
29
|
+
d="M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865z" />
|
30
|
+
</svg>
|
31
|
+
</a>
|
32
|
+
</li>
|
33
|
+
{% endif %}
|
34
|
+
{% if site.author.linkedin %}
|
35
|
+
<li>
|
36
|
+
<a class="link" href="https://linkedin.com/in/{{ site.author.linkedin }}" target="_blank"
|
37
|
+
rel="noopener" title="LinkedIn">
|
38
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor"
|
39
|
+
class="social-networks-icons" viewBox="0 0 16 16">
|
40
|
+
<path
|
41
|
+
d="M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854zm4.943 12.248V6.169H2.542v7.225zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248S2.4 3.226 2.4 3.934c0 .694.521 1.248 1.327 1.248zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016l.016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225z" />
|
42
|
+
</svg>
|
43
|
+
</a>
|
44
|
+
</li>
|
45
|
+
{% endif %}
|
46
|
+
{% if site.author.email %}
|
47
|
+
<li>
|
48
|
+
<a class="link" href="mailto: {{ site.author.email}}" target="_blank" rel="noopener" title="Email">
|
49
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor"
|
50
|
+
class="social-networks-icons" viewBox="0 0 24 24">
|
51
|
+
<path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"
|
52
|
+
fill="none" stroke="#000000" stroke-width="2" />
|
53
|
+
<path d="M22 6l-10 7L2 6" fill="none" stroke="#000000" stroke-width="2"
|
54
|
+
stroke-linecap="round" />
|
55
|
+
</svg>
|
56
|
+
</a>
|
57
|
+
</li>
|
58
|
+
{% endif %}
|
59
|
+
{% if site.author.github %}
|
60
|
+
<li>
|
61
|
+
<a class="link" href="https://github.com/{{ site.author.github}}" target="_blank" rel="noopener" title="GitHub">
|
62
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#000000"
|
63
|
+
class="social-networks-icons" viewBox="0 0 24 24">
|
64
|
+
<path d="M12.5.75C6.146.75 1 5.896 1 12.25c0 5.089 3.292 9.387 7.863 10.91.575.101.79-.244.79-.546 0-.273-.014-1.178-.014-2.142-2.889.532-3.636-.704-3.866-1.35-.13-.331-.69-1.352-1.18-1.625-.402-.216-.977-.748-.014-.762.906-.014 1.553.834 1.769 1.179 1.035 1.74 2.688 1.25 3.349.948.1-.747.402-1.25.733-1.538-2.559-.287-5.232-1.279-5.232-5.678 0-1.25.445-2.285 1.178-3.09-.115-.288-.517-1.467.115-3.048 0 0 .963-.302 3.163 1.179.92-.259 1.897-.388 2.875-.388.977 0 1.955.13 2.875.388 2.2-1.495 3.162-1.179 3.162-1.179.633 1.581.23 2.76.115 3.048.733.805 1.179 1.825 1.179 3.09 0 4.413-2.688 5.39-5.247 5.678.417.36.776 1.05.776 2.128 0 1.538-.014 2.774-.014 3.162 0 .302.216.662.79.547C20.709 21.637 24 17.324 24 12.25 24 5.896 18.854.75 12.5.75Z"></path>
|
65
|
+
</svg>
|
66
|
+
</a>
|
67
|
+
</li>
|
68
|
+
{% endif %}
|
69
|
+
</ul>
|
70
|
+
</ul>
|
9
71
|
</section>
|
10
|
-
|
72
|
+
</aside>
|
data/_layouts/categories.html
CHANGED
@@ -3,31 +3,37 @@ layout: default
|
|
3
3
|
permalink: /categories/
|
4
4
|
title: Categories
|
5
5
|
---
|
6
|
-
<
|
7
|
-
<
|
8
|
-
<
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
<
|
18
|
-
|
19
|
-
|
20
|
-
<
|
6
|
+
<div class="container">
|
7
|
+
<article class="post">
|
8
|
+
<div id="navigation-space" class="row">
|
9
|
+
</div>
|
10
|
+
<header>
|
11
|
+
<h1>
|
12
|
+
<span class="underline">Categories</span>
|
13
|
+
</h1>
|
14
|
+
</header>
|
15
|
+
<div>
|
16
|
+
{% for category in site.categories %}
|
17
|
+
<div class="archive-group">
|
18
|
+
{% capture category_name %}{{ category | first }}{% endcapture %}
|
19
|
+
<div id="#{{ category_name | slugize }}"></div>
|
20
|
+
<p></p>
|
21
|
+
<h5 style='color:white !important;'><a class="badge badge-{{ category_name }}">{{ category_name }}</a></h5>
|
22
|
+
<a name="{{ category_name | slugize }}"></a>
|
23
|
+
<table>
|
24
|
+
{% for post in site.categories[category_name] %}
|
25
|
+
<tr>
|
26
|
+
<th>
|
27
|
+
(<time datetime="{{ post.date | date_to_xmlschema }}" class="post-date">{{ post.date | date: "%b %-d, %Y" }}</time>)
|
28
|
+
</th>
|
21
29
|
<th>
|
22
|
-
|
30
|
+
<a href="{{ site.baseurl }}{{ post.url }}">{{post.title}}</a>
|
23
31
|
</th>
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
</
|
28
|
-
|
29
|
-
</table>
|
32
|
+
</tr>
|
33
|
+
{% endfor %}
|
34
|
+
</table>
|
35
|
+
</div>
|
36
|
+
{% endfor %}
|
30
37
|
</div>
|
31
|
-
|
32
|
-
|
33
|
-
</article>
|
38
|
+
</article>
|
39
|
+
</div>
|
data/_layouts/default.html
CHANGED
data/_layouts/home.html
CHANGED
@@ -1,116 +1,105 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
|
5
|
-
<
|
6
|
-
|
7
|
-
|
8
|
-
|
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">
|
5
|
+
<div id="navigation-space" class="row">
|
6
|
+
</div>
|
7
|
+
<article class="post">
|
8
|
+
<div id="content">
|
9
|
+
{% assign posts = site.posts %}
|
31
10
|
<ul>
|
32
|
-
{%
|
33
|
-
{%
|
34
|
-
|
35
|
-
<
|
36
|
-
<a href="{{
|
37
|
-
<span class="
|
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>
|
38
17
|
</a>
|
39
|
-
</
|
18
|
+
</h1>
|
19
|
+
<span class="text-secondary">{{ post.date | date: date_format }}</span>
|
20
|
+
<div>
|
21
|
+
{{ post.excerpt }}
|
22
|
+
</div>
|
23
|
+
</li>
|
24
|
+
{% endfor %}
|
25
|
+
</ul>
|
26
|
+
{% if paginator.total_pages > 1 %}
|
27
|
+
<nav class="pagination">
|
28
|
+
{% assign first_page_path = site.paginate_path | replace: 'page:num', '' | replace: '//', '/' | absolute_url %}
|
29
|
+
<ul>
|
30
|
+
{% comment %} Link for previous page {% endcomment %}
|
31
|
+
{% if paginator.previous_page %}
|
32
|
+
{% if paginator.previous_page == 1 %}
|
33
|
+
<li>
|
34
|
+
<a href="{{ first_page_path }}">
|
35
|
+
<span class="chevron left"></span>
|
36
|
+
</a>
|
37
|
+
</li>
|
38
|
+
{% else %}
|
39
|
+
<li>
|
40
|
+
<a href="{{ site.paginate_path | replace: ':num', paginator.previous_page | replace: '//', '/' | absolute_url }}">
|
41
|
+
<span class="chevron left"></span>
|
42
|
+
</a>
|
43
|
+
</li>
|
44
|
+
{% endif %}
|
45
|
+
{% else %}
|
46
|
+
<li><a href="#" class="disabled"><span id="previous-page" aria-hidden="true"></span></a></li>
|
47
|
+
{% endif %}
|
48
|
+
{% comment %} First page {% endcomment %}
|
49
|
+
{% if paginator.page == 1 %}
|
50
|
+
<li><a href="#" class="disabled current">1</a></li>
|
51
|
+
{% else %}
|
52
|
+
<li><a href="{{ first_page_path }}">1</a></li>
|
53
|
+
{% endif %}
|
54
|
+
{% assign page_start = 2 %}
|
55
|
+
{% if paginator.page > 4 %}
|
56
|
+
{% assign page_start = paginator.page | minus: 2 %}
|
57
|
+
{% comment %} Ellipsis for truncated links {% endcomment %}
|
58
|
+
<li><a href="#" class="disabled">…</a></li>
|
59
|
+
{% endif %}
|
60
|
+
{% assign page_end = paginator.total_pages | minus: 1 %}
|
61
|
+
{% assign pages_to_end = paginator.total_pages | minus: paginator.page %}
|
62
|
+
{% if pages_to_end > 4 %}
|
63
|
+
{% assign page_end = paginator.page | plus: 2 %}
|
64
|
+
{% endif %}
|
65
|
+
{% for index in (page_start..page_end) %}
|
66
|
+
{% if index == paginator.page %}
|
67
|
+
<li><a href="{{ site.paginate_path | replace: ':num', index | replace: '//', '/' | absolute_url }}" class="disabled current">{{ index }}</a></li>
|
68
|
+
{% else %}
|
69
|
+
{% comment %} Distance from current page and this link {% endcomment %}
|
70
|
+
{% assign dist = paginator.page | minus: index %}
|
71
|
+
{% if dist < 0 %}
|
72
|
+
{% comment %} Distance must be a positive value {% endcomment %}
|
73
|
+
{% assign dist = 0 | minus: dist %}
|
74
|
+
{% endif %}
|
75
|
+
<li><a href="{{ site.paginate_path | replace: ':num', index | absolute_url }}">{{ index }}</a></li>
|
76
|
+
{% endif %}
|
77
|
+
{% endfor %}
|
78
|
+
{% comment %} Ellipsis for truncated links {% endcomment %}
|
79
|
+
{% if pages_to_end > 3 %}
|
80
|
+
<li><a href="#" class="disabled">…</a></li>
|
81
|
+
{% endif %}
|
82
|
+
{% if paginator.page == paginator.total_pages %}
|
83
|
+
<li><a href="#" class="disabled current">{{ paginator.page }}</a></li>
|
40
84
|
{% else %}
|
85
|
+
<li><a href="{{ site.paginate_path | replace: ':num', paginator.total_pages | replace: '//', '/' | absolute_url }}">{{ paginator.total_pages }}</a></li>
|
86
|
+
{% endif %}
|
87
|
+
{% comment %} Link next page {% endcomment %}
|
88
|
+
{% if paginator.next_page %}
|
41
89
|
<li>
|
42
|
-
<a href="{{ site.paginate_path | replace: ':num', paginator.
|
43
|
-
<span class="chevron
|
90
|
+
<a href="{{ site.paginate_path | replace: ':num', paginator.next_page | replace: '//', '/' | absolute_url }}">
|
91
|
+
<span class="chevron right"></span>
|
44
92
|
</a>
|
45
93
|
</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
94
|
{% 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>
|
95
|
+
<li><a href="#" class="disabled"><span class="chevron right" aria-hidden="true"></span></a></li>
|
82
96
|
{% 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>
|
97
|
+
</ul>
|
98
|
+
</nav>
|
99
|
+
{% endif %}
|
100
|
+
{% if site.plugins contains "jekyll-feed" %}
|
101
|
+
<a href="{{ "/feed.xml" | relative_url }}"><div id="rss-icon" class="mb-2"></div></a>
|
102
|
+
{% endif %}
|
103
|
+
</div>
|
104
|
+
</article>
|
105
|
+
</div>
|
data/_layouts/page-wide.html
CHANGED
data/_layouts/page.html
CHANGED
@@ -1,16 +1,18 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
<
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
</
|
4
|
+
<div class="container">
|
5
|
+
<article class="post">
|
6
|
+
<div id="navigation-space" class="row">
|
7
|
+
</div>
|
8
|
+
<header>
|
9
|
+
<h1>
|
10
|
+
<span class="underline">{{ page.title }}</span>
|
11
|
+
</h1>
|
12
|
+
</header>
|
13
|
+
<div>
|
14
|
+
<div id="content">
|
15
|
+
{{ content }}
|
16
|
+
</div>
|
17
|
+
</article>
|
18
|
+
</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="navigation-space" 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 }}" />
|
@@ -44,33 +44,47 @@ body {
|
|
44
44
|
.main-wrapper {
|
45
45
|
display: flex;
|
46
46
|
flex: 1;
|
47
|
-
gap: 2rem;
|
48
47
|
margin: 0 auto;
|
49
48
|
width: var(--container-width);
|
49
|
+
min-height: 70%;
|
50
50
|
}
|
51
51
|
|
52
52
|
aside {
|
53
|
-
flex: 0 0 calc(var(--container-width) -
|
53
|
+
flex: 0 0 calc(var(--container-width) - 73%);
|
54
54
|
height: fit-content;
|
55
55
|
background-color: var(--color-bg);
|
56
56
|
border-right: 1px solid var(--color-primary);
|
57
57
|
margin-top: 5rem;
|
58
58
|
}
|
59
59
|
|
60
|
+
.author-info {
|
61
|
+
padding: 1rem 1rem 0 0;
|
62
|
+
}
|
63
|
+
|
64
|
+
.useful-links {
|
65
|
+
padding: 1rem 1rem 0 0;
|
66
|
+
|
67
|
+
span {
|
68
|
+
display: flex;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
.horizontal>li {
|
73
|
+
display: inline-block;
|
74
|
+
margin-left: 0.5rem;
|
75
|
+
}
|
76
|
+
|
60
77
|
.container-nav {
|
61
78
|
max-width: var(--container-width);
|
62
79
|
margin: 0 auto;
|
63
80
|
}
|
64
81
|
|
65
82
|
.container {
|
66
|
-
|
67
|
-
margin: 0 auto;
|
83
|
+
padding-left: 2rem;
|
68
84
|
}
|
69
85
|
|
70
86
|
main {
|
71
|
-
|
72
|
-
// flex: 1;
|
73
|
-
// min-width: 0;
|
87
|
+
min-width: 83%;
|
74
88
|
}
|
75
89
|
|
76
90
|
.navbar {
|
@@ -87,7 +101,7 @@ main {
|
|
87
101
|
flex-wrap: nowrap;
|
88
102
|
}
|
89
103
|
|
90
|
-
.navbar-links
|
104
|
+
.navbar-links>* {
|
91
105
|
margin-right: 10px;
|
92
106
|
}
|
93
107
|
|
@@ -141,13 +155,13 @@ main {
|
|
141
155
|
overflow: hidden;
|
142
156
|
}
|
143
157
|
|
144
|
-
h1
|
158
|
+
h1>.underline {
|
145
159
|
box-shadow: inset 0 -19px 0 var(--color-accent), 0 0 0 var(--color-accent);
|
146
160
|
transition: box-shadow 0.3s;
|
147
161
|
font-size: 2rem;
|
148
162
|
}
|
149
163
|
|
150
|
-
a
|
164
|
+
a>.underline {
|
151
165
|
box-shadow: inset 0 -14px 0 var(--color-accent), 0 0 0 var(--color-accent);
|
152
166
|
transition: box-shadow 0.3s;
|
153
167
|
}
|
@@ -255,7 +269,6 @@ a#blog-title:focus::before {
|
|
255
269
|
transform: scaleX(1);
|
256
270
|
}
|
257
271
|
|
258
|
-
|
259
272
|
.post-resume {
|
260
273
|
padding-top: 1.5rem;
|
261
274
|
padding-bottom: 0.5rem;
|
@@ -264,6 +277,7 @@ a#blog-title:focus::before {
|
|
264
277
|
.post-resume-title {
|
265
278
|
margin-top: 0.25rem;
|
266
279
|
margin-bottom: 0.75rem;
|
280
|
+
|
267
281
|
a {
|
268
282
|
color: var(--color-text);
|
269
283
|
text-decoration: none;
|
@@ -287,7 +301,7 @@ a#blog-title:focus::before {
|
|
287
301
|
}
|
288
302
|
|
289
303
|
.post {
|
290
|
-
padding:
|
304
|
+
padding: 0rem 0 6rem;
|
291
305
|
width: 100%;
|
292
306
|
}
|
293
307
|
|
@@ -305,10 +319,10 @@ a#blog-title:focus::before {
|
|
305
319
|
width: 100%;
|
306
320
|
}
|
307
321
|
|
308
|
-
#
|
309
|
-
padding-bottom:
|
322
|
+
#navigation-space {
|
323
|
+
padding-bottom: .5rem;
|
310
324
|
bottom: 0;
|
311
|
-
min-height:
|
325
|
+
min-height: 4rem;
|
312
326
|
}
|
313
327
|
|
314
328
|
p {
|
@@ -317,9 +331,9 @@ p {
|
|
317
331
|
|
318
332
|
.row {
|
319
333
|
display: grid;
|
320
|
-
flex-wrap: wrap;
|
321
334
|
grid-template-columns: 1fr 1fr;
|
322
335
|
font-size: 20px;
|
336
|
+
|
323
337
|
* {
|
324
338
|
color: var(--color-dark);
|
325
339
|
}
|
@@ -373,7 +387,6 @@ blockquote {
|
|
373
387
|
align-items: center;
|
374
388
|
}
|
375
389
|
|
376
|
-
|
377
390
|
blockquote p {
|
378
391
|
margin-bottom: 0;
|
379
392
|
}
|
@@ -460,12 +473,15 @@ svg {
|
|
460
473
|
color: var(--color-text);
|
461
474
|
}
|
462
475
|
|
463
|
-
.prev-btn,
|
476
|
+
.prev-btn,
|
477
|
+
.next-btn {
|
464
478
|
min-width: 100%;
|
465
479
|
min-height: 100%;
|
466
480
|
}
|
481
|
+
|
467
482
|
.prev-btn {
|
468
483
|
justify-content: flex-start;
|
484
|
+
|
469
485
|
span {
|
470
486
|
margin-left: 2.5rem;
|
471
487
|
}
|
@@ -480,6 +496,7 @@ svg {
|
|
480
496
|
|
481
497
|
.next-btn {
|
482
498
|
justify-content: flex-end;
|
499
|
+
|
483
500
|
span {
|
484
501
|
margin-right: 2.5rem;
|
485
502
|
}
|
@@ -564,10 +581,12 @@ svg {
|
|
564
581
|
text-decoration: none;
|
565
582
|
border-radius: 25px;
|
566
583
|
transition: background 0.3s;
|
584
|
+
|
567
585
|
.chevron.right {
|
568
586
|
position: relative;
|
569
587
|
left: -2px;
|
570
588
|
}
|
589
|
+
|
571
590
|
.chevron.left {
|
572
591
|
position: relative;
|
573
592
|
left: 2px;
|
@@ -577,6 +596,7 @@ svg {
|
|
577
596
|
.pagination a:hover:not(.disabled) {
|
578
597
|
background: var(--color-code);
|
579
598
|
color: var(--color-bg);
|
599
|
+
|
580
600
|
.chevron {
|
581
601
|
border-color: var(--color-bg);
|
582
602
|
}
|
@@ -590,7 +610,7 @@ svg {
|
|
590
610
|
.pagination a.disabled {
|
591
611
|
opacity: 0.5;
|
592
612
|
cursor: none;
|
593
|
-
pointer-events:none;
|
613
|
+
pointer-events: none;
|
594
614
|
}
|
595
615
|
|
596
616
|
.about-image {
|
@@ -605,7 +625,6 @@ svg {
|
|
605
625
|
border-radius: 50%;
|
606
626
|
width: 90px;
|
607
627
|
height: 90px;
|
608
|
-
margin: 1rem 0;
|
609
628
|
object-fit: cover;
|
610
629
|
}
|
611
630
|
|
@@ -621,7 +640,7 @@ svg {
|
|
621
640
|
|
622
641
|
.badge:hover,
|
623
642
|
.badge:focus {
|
624
|
-
-webkit-transform:scale(1.1);
|
643
|
+
-webkit-transform: scale(1.1);
|
625
644
|
transform: scale(1.1);
|
626
645
|
}
|
627
646
|
|
@@ -659,7 +678,30 @@ svg {
|
|
659
678
|
padding: 0.5rem 0;
|
660
679
|
border-bottom: 1px solid #ccc;
|
661
680
|
}
|
662
|
-
|
681
|
+
|
682
|
+
.main-wrapper {
|
683
|
+
display: block;
|
684
|
+
}
|
685
|
+
|
686
|
+
aside {
|
687
|
+
display: flex;
|
688
|
+
border-right: none;
|
689
|
+
margin-top: 1rem;
|
690
|
+
|
691
|
+
.author-info {
|
692
|
+
width: 30%;
|
693
|
+
}
|
694
|
+
|
695
|
+
.useful-links {
|
696
|
+
width: 70%;
|
697
|
+
}
|
698
|
+
}
|
699
|
+
|
700
|
+
.about-image-small {
|
701
|
+
width: 70px;
|
702
|
+
height: 70px;
|
703
|
+
}
|
704
|
+
|
663
705
|
.container {
|
664
706
|
padding: 0 1rem;
|
665
707
|
}
|
@@ -696,4 +738,4 @@ svg {
|
|
696
738
|
transition-duration: 0.01ms !important;
|
697
739
|
scroll-behavior: auto !important;
|
698
740
|
}
|
699
|
-
}
|
741
|
+
}
|
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.1.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: 2025-
|
11
|
+
date: 2025-03-08 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
|