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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a77ad20f8289ce362f66550a3865bddd27f6eb45de3bb71a54f3474d80c5cb5
4
- data.tar.gz: 04a6c32ed3b448d3e08a4aaff2d0bdb0d4e514705ce279a6eff3f2368b8f4d2d
3
+ metadata.gz: 3688269f0b1b4ae59d8e5ee925e9f4779e5cb4aecf385fdd811fcf4ca5741ddb
4
+ data.tar.gz: 18208a05bcf8c13bf27f88a9768cd7d717559293b5370b56adc7a45c8db6318a
5
5
  SHA512:
6
- metadata.gz: 9a28f58ec5b19b207d873d4ef4cd09a34e98022e96c94da1be579e5d637803beae7049c5f32a6a0a133ddb22872e4db3df5edb4c6cd2a53d5592e7b5fceaec5d
7
- data.tar.gz: ef96dd8634156b9e283e2b913fae99e14396ba9515159a2ff18ac4a147e015334e2f3f4a72e25a5de57d423de6494640f33946407d7901088e2b5a343a94e689
6
+ metadata.gz: daad27aef48fede0b1858e91dc4cddd6415763eb6d7db59f3fc407a1de399080b03b84d0add87a385f352bcffb829cdaf95113e9cd6ccfa7d08dcfc5d51dfdcc
7
+ data.tar.gz: 808a02ae98152f9b30a43069b311d8c3b4a0032f5b5042117b0240af10e80f259470631e9738f0c33ada2501608bd07f64848c1388b06a79f61fbdf1d3a88baa
@@ -0,0 +1,7 @@
1
+ <div class="text-final">
2
+ {% case site.comments.provider %}
3
+ {% when "disqus" %}
4
+ <h4>Comments</h4>
5
+ <section id="disqus_thread"></section>
6
+ {% endcase %}
7
+ </div>
@@ -5,6 +5,12 @@
5
5
  <h2>{{ site.author.name }}</h2>
6
6
  </section>
7
7
  <section class="useful-links">
8
- <p>{{ site.author.location }}</p>
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>
@@ -13,9 +13,7 @@
13
13
  <div class="main-wrapper">
14
14
  {% include sidebar.html %}
15
15
  <main>
16
- <div class="container" id="post">
17
- {{ content }}
18
- </div>
16
+ {{ content }}
19
17
  </main>
20
18
  </div>
21
19
 
data/_layouts/home.html CHANGED
@@ -1,116 +1,103 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
-
5
- <article class="post">
6
- <div id="content">
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
- {% comment %} Link for previous page {% endcomment %}
33
- {% if paginator.previous_page %}
34
- {% if paginator.previous_page == 1 %}
35
- <li>
36
- <a href="{{ first_page_path }}">
37
- <span class="chevron left"></span>
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
- </li>
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">&hellip;</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">&hellip;</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.previous_page | replace: '//', '/' | absolute_url }}">
43
- <span class="chevron left"></span>
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">&hellip;</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
- {% comment %} Distance from current page and this link {% endcomment %}
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
- {% endfor %}
84
-
85
- {% comment %} Ellipsis for truncated links {% endcomment %}
86
- {% if pages_to_end > 3 %}
87
- <li><a href="#" class="disabled">&hellip;</a></li>
88
- {% endif %}
89
-
90
- {% if paginator.page == paginator.total_pages %}
91
- <li><a href="#" class="disabled current">{{ paginator.page }}</a></li>
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
- <article class="post">
5
-
6
- <header>
7
- <h1>
8
- <span class="underline">{{ page.title }}</span>
9
- </h1>
10
- </header>
11
-
12
- <div id="content">
13
- {{ content }}
14
- </div>
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
- <article class="post">
4
+ <div class="container">
5
+ <article class="post">
5
6
 
6
- <div id="posts-navigation" class="row">
7
- <div class="previous">
8
- {% if page.previous.url %}
9
- <a href="{{page.previous.url}}" class="nav-btn prev-btn" title="{{page.previous.title}}">
10
- <span class="chevron left"></span>
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
- </a>
13
- {% endif %}
14
- </div>
15
- <div class="next">
16
- {% if page.next.url %}
17
- <a href="{{page.next.url}}" class="nav-btn next-btn" title="{{page.next.title}}">
18
- <span class="chevron right"></span>
19
- </a>
20
- {% endif %}
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
- <header>
25
- <h1>
26
- <span class="underline">{{ page.title | escape }}</span>
27
- </h1>
28
- <p class="text-secondary">
29
- <time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
30
- {% assign date_format = site.theme.date_format | default: "%b %-d, %Y" %}
31
- {{ page.date | date: date_format }}
32
- </time><span style="display:inline-block; width: 6px;"></span>
33
- {% if post %}
34
- {% assign categories = post.categories %}
35
- {% else %}
36
- {% assign categories = page.categories %}
37
- {% endif %}
38
- <h5 id="category-badge">
39
- {% for category in categories %}
40
- <a href="{{site.baseurl}}/categories/#{{category|slugize}}" class="badge" >{{category}}</a>
41
- {% unless forloop.last %}&nbsp;{% endunless %}
42
- {% endfor %}
43
- </h5>
44
- </p>
45
- </header>
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 %}&nbsp;{% endunless %}
43
+ {% endfor %}
44
+ </h5>
45
+ </p>
46
+ </header>
46
47
 
47
- <div class="text-justify" id="content">
48
- {{ content }}
49
- </div>
48
+ <div class="text-justify" id="content">
49
+ {{ content }}
50
+ </div>
50
51
 
51
- <div class="row">
52
- {% if site.addons.share_post %}
53
- {% include sharepost.html %}
54
- {% endif %}
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
- {% if site.addons.back_to_top %}
57
- {% include backtotop.html %}
58
- {% endif %}
63
+ {% if site.addons.back_to_top %}
64
+ {% include backtotop.html %}
65
+ {% endif %}
59
66
 
60
- {% if site.comments.provider%}
61
- {% if site.comments.provider == "disqus" %}
62
- {% include comments-providers/disqus.html %}
67
+ {% if site.comments.provider%}
68
+ {% if site.comments.provider == "disqus" %}
69
+ {% include comments-providers/disqus.html %}
70
+ {% endif %}
63
71
  {% endif %}
64
- {% endif %}
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 web development and a love for open source. I'm currently working at <a href="https://www.mercadolibre.com">Mercado Libre</a> as a Frontend Developer. I'm also a contributor to the <a href="blog.victorsilva.dev">Victor Silva Blog</a></p>
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
- max-width: 95%;
67
- margin: 0 auto;
73
+ padding-left: 1rem;
68
74
  }
69
75
 
70
76
  main {
71
77
  padding-bottom: 4rem;
72
- // flex: 1;
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: 3rem 0 6rem;
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: 1.5rem;
318
+ padding-bottom: .5rem;
310
319
  bottom: 0;
311
- min-height: 6rem;
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.22
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-02-22 00:00:00.000000000 Z
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