lbenicio-minimal-v1 1.0.3 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +471 -0
  3. data/_includes/analytics.html +10 -0
  4. data/_includes/anchor_headings.html +172 -0
  5. data/_includes/blog-navigation.html +18 -0
  6. data/_includes/conclusion.html +4 -0
  7. data/_includes/footer.html +13 -0
  8. data/_includes/fork.html +6 -0
  9. data/_includes/head.html +45 -0
  10. data/_includes/navigation.html +42 -0
  11. data/_includes/pagination.html +23 -0
  12. data/_includes/postList.html +20 -0
  13. data/_layouts/autopage_category.html +9 -0
  14. data/_layouts/autopage_collection.html +7 -0
  15. data/_layouts/autopage_tags.html +9 -0
  16. data/_layouts/default.html +28 -0
  17. data/_layouts/home.html +19 -0
  18. data/_layouts/posts.html +7 -0
  19. data/assets/favicon.ico +0 -0
  20. data/assets/monokai.scss +354 -0
  21. data/assets/postStyle.scss +26 -0
  22. data/assets/profile.jpg +0 -0
  23. data/assets/style.scss +143 -0
  24. data/assets/vendor/all.min.css +5 -0
  25. data/assets/webfonts/fa-brands-400.eot +0 -0
  26. data/assets/webfonts/fa-brands-400.svg +3717 -0
  27. data/assets/webfonts/fa-brands-400.ttf +0 -0
  28. data/assets/webfonts/fa-brands-400.woff +0 -0
  29. data/assets/webfonts/fa-brands-400.woff2 +0 -0
  30. data/assets/webfonts/fa-regular-400.eot +0 -0
  31. data/assets/webfonts/fa-regular-400.svg +801 -0
  32. data/assets/webfonts/fa-regular-400.ttf +0 -0
  33. data/assets/webfonts/fa-regular-400.woff +0 -0
  34. data/assets/webfonts/fa-regular-400.woff2 +0 -0
  35. data/assets/webfonts/fa-solid-900.eot +0 -0
  36. data/assets/webfonts/fa-solid-900.svg +5034 -0
  37. data/assets/webfonts/fa-solid-900.ttf +0 -0
  38. data/assets/webfonts/fa-solid-900.woff +0 -0
  39. data/assets/webfonts/fa-solid-900.woff2 +0 -0
  40. data/benchmark/capture-assign.rb +23 -0
  41. data/benchmark/conditional_liquid.rb +102 -0
  42. data/benchmark/end-with-vs-regexp +18 -0
  43. data/benchmark/file-dir-ensure-trailing-slash +56 -0
  44. data/benchmark/find-filter-vs-where-first-filters.rb +49 -0
  45. data/benchmark/flat-map +19 -0
  46. data/benchmark/hash-fetch +12 -0
  47. data/benchmark/jekyll-sanitize-path +47 -0
  48. data/benchmark/local-require +29 -0
  49. data/benchmark/native-vs-pathutil-relative +33 -0
  50. data/benchmark/parse-date +26 -0
  51. data/benchmark/parse-include-tag-params.rb +85 -0
  52. data/benchmark/path-manager.rb +65 -0
  53. data/benchmark/proc-call-vs-yield +17 -0
  54. data/benchmark/regexp-vs-include.rb +53 -0
  55. data/benchmark/sanitize-url.rb +27 -0
  56. data/benchmark/schwartzian_transform.rb +110 -0
  57. data/benchmark/sequential-assignment +15 -0
  58. data/benchmark/static-drop-vs-forwarded.rb +83 -0
  59. data/benchmark/string-concat +11 -0
  60. data/benchmark/string-replacement +16 -0
  61. data/benchmark/symbol-to-proc +9 -0
  62. data/rubocop/jekyll/assert_equal_literal_actual.rb +149 -0
  63. data/rubocop/jekyll/no_p_allowed.rb +23 -0
  64. data/rubocop/jekyll/no_puts_allowed.rb +23 -0
  65. data/rubocop/jekyll.rb +5 -0
  66. metadata +71 -7
@@ -0,0 +1,6 @@
1
+ <a class="fork-me p-0 bg-black" href="https://github.com/{{ site.github_username }}/{{ site.github_username }}.github.io" target="_blank">
2
+ <span class="d-flex justify-content-start text-white fs-6">
3
+ <i class="fas fa-code-branch fa-lg lh-1"></i>
4
+ <p class="mb-0 ms-3 lh-1 d-none d-sm-block">Fork me !</p>
5
+ </span>
6
+ </a>
@@ -0,0 +1,45 @@
1
+ <meta content='{{ site.title }}' property='og:title' />
2
+ <!-- favicon -->
3
+ <link href="{{ '/assets/favicon.ico' | prepend: (site.default_url + '/') }}" rel='shortcut icon'>
4
+ <!-- CSS -->
5
+ <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor" crossorigin="anonymous">
6
+ <link rel="stylesheet" href="{{ '/assets/style.css' | prepend: (site.default_url + '/') }}">
7
+ <link rel="stylesheet" href="{{ '/assets/vendor/all.min.css' | prepend: (site.default_url + '/') }}">
8
+ <!-- Fonts -->
9
+ <link href="https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap" rel="stylesheet">
10
+ <!-- Configs -->
11
+ <meta content='width=device-width, initial-scale=1.0, , maximum-scale=1, minimum-scale=1, user-scalable=no' name='viewport'>
12
+ <meta content='text/html; charset=utf-8' http-equiv='content-type' />
13
+ {% if page.date %}
14
+ <link rel="stylesheet" href="{{ '/assets/postStyle.css' | prepend: (site.default_url + '/') }}">
15
+ <link rel="stylesheet" href="{{ '/assets/monokai.css' | prepend: (site.default_url + '/') }}">
16
+ <meta content='{{ site.default_url }}{{ page.url }}' property='og:url' />
17
+ <meta content="{{ page.content | strip_html | strip_newlines | truncate: 120 }}" property='og:description' />
18
+ <meta content="article" property="og:type" />
19
+ <meta content='{{ page.title }} - {{ site.title }}' property='og:title' />
20
+ <title>{{ page.title }} - {{ site.title }}</title>
21
+ {% elsif page.layout == "autopage_collection" %}
22
+ <title>{{ page.title }} - {{ site.title }}</title>
23
+ <meta content='{{ site.title }}' property='og:title' />
24
+ <meta content='{{ site.default_url }}' property='og:url' />
25
+ <meta content="{{ site.description }}" property='og:description' />
26
+ <meta content="blog" property="og:type" />
27
+ {% elsif page.url == "/tag/" %}
28
+ <title>{{ page.title }} - {{ site.title }}</title>
29
+ <meta content='{{ site.title }}' property='og:title' />
30
+ <meta content='{{ site.default_url }}' property='og:url' />
31
+ <meta content="{{ site.description }}" property='og:description' />
32
+ <meta content="blog" property="og:type" />
33
+ {% elsif page.url == "/category/" %}
34
+ <title>{{ page.title }} - {{ site.title }}</title>
35
+ <meta content='{{ site.title }}' property='og:title' />
36
+ <meta content='{{ site.default_url }}' property='og:url' />
37
+ <meta content="{{ site.description }}" property='og:description' />
38
+ <meta content="blog" property="og:type" />
39
+ {% else %}
40
+ <title>{{ site.title }}</title>
41
+ <meta content='{{ site.title }}' property='og:title' />
42
+ <meta content='{{ site.default_url }}' property='og:url' />
43
+ <meta content="{{ site.description }}" property='og:description' />
44
+ <meta content="blog" property="og:type" />
45
+ {% endif %}
@@ -0,0 +1,42 @@
1
+ <div class="container-fluid border-bottom border-1 border-light pb-4">
2
+ <div class="row border-bottom border-1 border-light pb-4">
3
+ <div class="offset-3 col-6">
4
+ <div class="profile-picture">
5
+ <img src="/assets/profile.jpg" class="mx-auto d-block mt-5 rounded-circle" alt="profile picture">
6
+ </div>
7
+ </div>
8
+ </div>
9
+ <div class="nav-container-up row mt-2">
10
+ <nav class="offset-3 col-6">
11
+ <ul class="list-group list-group-horizontal justify-content-center ml-0 pl-0">
12
+ <li class="list-group-item border-0">
13
+ <a href="{{ site.default_url }}"><i class="fas fa-home text-black-50"></i></a>
14
+ </li>
15
+ <li class="list-group-item border-0">
16
+ <a href="{{ site.default_url }}/aboutme"><i class="fas fa-address-card text-black-50"></i></a>
17
+ </li>
18
+ <li class="list-group-item border-0">
19
+ <a href="{{ site.blog }}"><i class="fas fa-comment-alt text-black-50"></i></a>
20
+ </li>
21
+ <li class="list-group-item border-0">
22
+ <a href="{{ site.default_url }}/contact"><i class="fas fa-envelope-open text-black-50"></i></a>
23
+ </li>
24
+ </ul>
25
+ </nav>
26
+ </div>
27
+ <div class="nav-container-down row mt-2">
28
+ <nav class="offset-3 col-6">
29
+ <ul class="list-group list-group-horizontal justify-content-center">
30
+ <li class="list-group-item border-0">
31
+ <a href="https://github.com/{{ site.github_username }}"><i class="fab fa-github text-black-50"></i></a>
32
+ </li>
33
+ <li class="list-group-item border-0">
34
+ <a href="https://www.linkedin.com/in/{{ site.linkedin_username }}"><i class="fab fa-linkedin-in text-black-50"></i></a>
35
+ </li>
36
+ <li class="list-group-item border-0">
37
+ <a href="https://twitter.com/{{ site.twitter_username }}"><i class="fab fa-twitter text-black-50"></i></a>
38
+ </li>
39
+ </ul>
40
+ </nav>
41
+ </div>
42
+ </div>
@@ -0,0 +1,23 @@
1
+ {% if paginator.total_pages > 1 %}
2
+ <ul class="pagination d-flex">
3
+ {% if paginator.previous_page %}
4
+ <li class="mr-auto">
5
+ <a class="pagination-nav text-black" href="{{ paginator.previous_page_path | prepend: site.url }}">Newer</a>
6
+ </li>
7
+ {% endif %}
8
+ {% if paginator.next_page %}
9
+ <li class="ml-auto">
10
+ <a class="pagination-nav text-black" href="{{ paginator.next_page_path | prepend: site.url }}">Older</a>
11
+ </li>
12
+ {% endif %}
13
+ </ul>
14
+ {% endif %}
15
+ {% if paginator.page_trail %}
16
+ <ul class="pagination d-flex">
17
+ {% for trail in paginator.page_trail %}
18
+ <li {% if page.url == trail.path %}class="selected"{% endif %}>
19
+ <a class="pagination-nav text-black" href="{{ trail.path | prepend: site.url }}" title="{{trail.title}}">{{ trail.num }}</a>
20
+ </li>
21
+ {% endfor %}
22
+ </ul>
23
+ {% endif %}
@@ -0,0 +1,20 @@
1
+ <ul class="p-0 post-list">
2
+ {% for post in paginator.posts %}
3
+ <li class="row mb-5">
4
+ <div class="col-12 d-flex justify-content-center text-center">
5
+ <a class="text-dark post-link" href="{{ post.url }}">
6
+ <span>{{ post.title }}</span>
7
+ <br>
8
+ <small class="fs-10 d-flex justify-content-center">{{ post.date | date: "%-d %B %Y" }}</small>
9
+ </a>
10
+ </div>
11
+ {% assign ph_1 = post.content | split: '<p>' %}
12
+ {% assign ph_2 = ph_1[1] | split: '</p>' %}
13
+ {% assign ph = ph_2[0] | split: '</p>' %}
14
+ {% if include.rm %}
15
+ <div><p>{{ ph }}</p></div>
16
+ <div><p><a href="{{ post.url }}">Read more...</a></p></div>
17
+ {% endif %}
18
+ </li>
19
+ {% endfor %}
20
+ </ul>
@@ -0,0 +1,9 @@
1
+ ---
2
+ layout: default
3
+ title: Categories
4
+ icon: fa-comment-alt
5
+ ---
6
+
7
+ {% include postList.html %}
8
+
9
+ {% include pagination.html %}
@@ -0,0 +1,7 @@
1
+ ---
2
+ layout: default
3
+ title: Feed
4
+ icon: fa-comment-alt
5
+ ---
6
+
7
+ {% include postList.html rm=true %}
@@ -0,0 +1,9 @@
1
+ ---
2
+ layout: default
3
+ title: Tags
4
+ icon: fa-comment-alt
5
+ ---
6
+
7
+ {% include postList.html %}
8
+
9
+ {% include pagination.html %}
@@ -0,0 +1,28 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+
4
+ <head>
5
+ {% include head.html %}
6
+ </head>
7
+ {% assign t = page.title | downcase %}
8
+ <body class="bg-body d-flex flex-column min-vh-100 {% if page.date %} body-posts{% endif %}">
9
+ {% include fork.html %}
10
+ {% include navigation.html %}
11
+ {% if t contains "blog" or t contains "post" or t contains "feed" or t contains "tag" or t contains "categor" or page.date %}{% include blog-navigation.html %}{% endif %}
12
+ <div class="container-fluid mt-2">
13
+ <div class="row">
14
+ <div class="offset-xs-1 col-xs-10 offset-sm-3 col-sm-6">
15
+ <section class="content">
16
+ <div class="container-fluid" id="main-container">
17
+ {{ content }}
18
+ {% if t contains "blog" or t contains "feed" or t contains "tag" or t contains "categor" %}{% include pagination.html %}{% endif %}
19
+ </div>
20
+ </section>
21
+ </div>
22
+ </div>
23
+ </div>
24
+ {% include footer.html %}
25
+ {% include analytics.html %}
26
+ </body>
27
+
28
+ </html>
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+
4
+ <head>
5
+ {% include head.html %}
6
+ </head>
7
+
8
+ <body class="bg-body d-flex flex-column min-vh-100">
9
+ <div class="row align-items-center h-main m-0 p-0">
10
+ {% include fork.html %}
11
+ <div class="h-25">
12
+ {% include navigation.html %}
13
+ </div>
14
+ </div>
15
+ {% include footer.html %}
16
+ {% include analytics.html %}
17
+ </body>
18
+
19
+ </html>
@@ -0,0 +1,7 @@
1
+ ---
2
+ layout: default
3
+ title: Posts
4
+ icon: fa-comment-alt
5
+ ---
6
+
7
+ {% include anchor_headings.html html=content anchorBody="#" anchorClass="link-anchor" %}
Binary file
@@ -0,0 +1,354 @@
1
+ ---
2
+ # Front matter comment to ensure Jekyll properly reads file.
3
+ ---
4
+
5
+ .highlight .hll {
6
+ background-color: #49483e
7
+ }
8
+
9
+ .highlight {
10
+ background: #272822;
11
+ color: #f8f8f2
12
+ }
13
+
14
+ .highlight .c {
15
+ color: #75715e
16
+ }
17
+
18
+ /* Comment */
19
+ .highlight .err {
20
+ color: #960050;
21
+ background-color: #1e0010
22
+ }
23
+
24
+ /* Error */
25
+ .highlight .k {
26
+ color: #66d9ef
27
+ }
28
+
29
+ /* Keyword */
30
+ .highlight .l {
31
+ color: #ae81ff
32
+ }
33
+
34
+ /* Literal */
35
+ .highlight .n {
36
+ color: #f8f8f2
37
+ }
38
+
39
+ /* Name */
40
+ .highlight .o {
41
+ color: #f92672
42
+ }
43
+
44
+ /* Operator */
45
+ .highlight .p {
46
+ color: #f8f8f2
47
+ }
48
+
49
+ /* Punctuation */
50
+ .highlight .ch {
51
+ color: #75715e
52
+ }
53
+
54
+ /* Comment.Hashbang */
55
+ .highlight .cm {
56
+ color: #75715e
57
+ }
58
+
59
+ /* Comment.Multiline */
60
+ .highlight .cp {
61
+ color: #75715e
62
+ }
63
+
64
+ /* Comment.Preproc */
65
+ .highlight .cpf {
66
+ color: #75715e
67
+ }
68
+
69
+ /* Comment.PreprocFile */
70
+ .highlight .c1 {
71
+ color: #75715e
72
+ }
73
+
74
+ /* Comment.Single */
75
+ .highlight .cs {
76
+ color: #75715e
77
+ }
78
+
79
+ /* Comment.Special */
80
+ .highlight .gd {
81
+ color: #f92672
82
+ }
83
+
84
+ /* Generic.Deleted */
85
+ .highlight .ge {
86
+ font-style: italic
87
+ }
88
+
89
+ /* Generic.Emph */
90
+ .highlight .gi {
91
+ color: #a6e22e
92
+ }
93
+
94
+ /* Generic.Inserted */
95
+ .highlight .gs {
96
+ font-weight: bold
97
+ }
98
+
99
+ /* Generic.Strong */
100
+ .highlight .gu {
101
+ color: #75715e
102
+ }
103
+
104
+ /* Generic.Subheading */
105
+ .highlight .kc {
106
+ color: #66d9ef
107
+ }
108
+
109
+ /* Keyword.Constant */
110
+ .highlight .kd {
111
+ color: #66d9ef
112
+ }
113
+
114
+ /* Keyword.Declaration */
115
+ .highlight .kn {
116
+ color: #f92672
117
+ }
118
+
119
+ /* Keyword.Namespace */
120
+ .highlight .kp {
121
+ color: #66d9ef
122
+ }
123
+
124
+ /* Keyword.Pseudo */
125
+ .highlight .kr {
126
+ color: #66d9ef
127
+ }
128
+
129
+ /* Keyword.Reserved */
130
+ .highlight .kt {
131
+ color: #66d9ef
132
+ }
133
+
134
+ /* Keyword.Type */
135
+ .highlight .ld {
136
+ color: #e6db74
137
+ }
138
+
139
+ /* Literal.Date */
140
+ .highlight .m {
141
+ color: #ae81ff
142
+ }
143
+
144
+ /* Literal.Number */
145
+ .highlight .s {
146
+ color: #e6db74
147
+ }
148
+
149
+ /* Literal.String */
150
+ .highlight .na {
151
+ color: #a6e22e
152
+ }
153
+
154
+ /* Name.Attribute */
155
+ .highlight .nb {
156
+ color: #f8f8f2
157
+ }
158
+
159
+ /* Name.Builtin */
160
+ .highlight .nc {
161
+ color: #a6e22e
162
+ }
163
+
164
+ /* Name.Class */
165
+ .highlight .no {
166
+ color: #66d9ef
167
+ }
168
+
169
+ /* Name.Constant */
170
+ .highlight .nd {
171
+ color: #a6e22e
172
+ }
173
+
174
+ /* Name.Decorator */
175
+ .highlight .ni {
176
+ color: #f8f8f2
177
+ }
178
+
179
+ /* Name.Entity */
180
+ .highlight .ne {
181
+ color: #a6e22e
182
+ }
183
+
184
+ /* Name.Exception */
185
+ .highlight .nf {
186
+ color: #a6e22e
187
+ }
188
+
189
+ /* Name.Function */
190
+ .highlight .nl {
191
+ color: #f8f8f2
192
+ }
193
+
194
+ /* Name.Label */
195
+ .highlight .nn {
196
+ color: #f8f8f2
197
+ }
198
+
199
+ /* Name.Namespace */
200
+ .highlight .nx {
201
+ color: #a6e22e
202
+ }
203
+
204
+ /* Name.Other */
205
+ .highlight .py {
206
+ color: #f8f8f2
207
+ }
208
+
209
+ /* Name.Property */
210
+ .highlight .nt {
211
+ color: #f92672
212
+ }
213
+
214
+ /* Name.Tag */
215
+ .highlight .nv {
216
+ color: #f8f8f2
217
+ }
218
+
219
+ /* Name.Variable */
220
+ .highlight .ow {
221
+ color: #f92672
222
+ }
223
+
224
+ /* Operator.Word */
225
+ .highlight .w {
226
+ color: #f8f8f2
227
+ }
228
+
229
+ /* Text.Whitespace */
230
+ .highlight .mb {
231
+ color: #ae81ff
232
+ }
233
+
234
+ /* Literal.Number.Bin */
235
+ .highlight .mf {
236
+ color: #ae81ff
237
+ }
238
+
239
+ /* Literal.Number.Float */
240
+ .highlight .mh {
241
+ color: #ae81ff
242
+ }
243
+
244
+ /* Literal.Number.Hex */
245
+ .highlight .mi {
246
+ color: #ae81ff
247
+ }
248
+
249
+ /* Literal.Number.Integer */
250
+ .highlight .mo {
251
+ color: #ae81ff
252
+ }
253
+
254
+ /* Literal.Number.Oct */
255
+ .highlight .sa {
256
+ color: #e6db74
257
+ }
258
+
259
+ /* Literal.String.Affix */
260
+ .highlight .sb {
261
+ color: #e6db74
262
+ }
263
+
264
+ /* Literal.String.Backtick */
265
+ .highlight .sc {
266
+ color: #e6db74
267
+ }
268
+
269
+ /* Literal.String.Char */
270
+ .highlight .dl {
271
+ color: #e6db74
272
+ }
273
+
274
+ /* Literal.String.Delimiter */
275
+ .highlight .sd {
276
+ color: #e6db74
277
+ }
278
+
279
+ /* Literal.String.Doc */
280
+ .highlight .s2 {
281
+ color: #e6db74
282
+ }
283
+
284
+ /* Literal.String.Double */
285
+ .highlight .se {
286
+ color: #ae81ff
287
+ }
288
+
289
+ /* Literal.String.Escape */
290
+ .highlight .sh {
291
+ color: #e6db74
292
+ }
293
+
294
+ /* Literal.String.Heredoc */
295
+ .highlight .si {
296
+ color: #e6db74
297
+ }
298
+
299
+ /* Literal.String.Interpol */
300
+ .highlight .sx {
301
+ color: #e6db74
302
+ }
303
+
304
+ /* Literal.String.Other */
305
+ .highlight .sr {
306
+ color: #e6db74
307
+ }
308
+
309
+ /* Literal.String.Regex */
310
+ .highlight .s1 {
311
+ color: #e6db74
312
+ }
313
+
314
+ /* Literal.String.Single */
315
+ .highlight .ss {
316
+ color: #e6db74
317
+ }
318
+
319
+ /* Literal.String.Symbol */
320
+ .highlight .bp {
321
+ color: #f8f8f2
322
+ }
323
+
324
+ /* Name.Builtin.Pseudo */
325
+ .highlight .fm {
326
+ color: #a6e22e
327
+ }
328
+
329
+ /* Name.Function.Magic */
330
+ .highlight .vc {
331
+ color: #f8f8f2
332
+ }
333
+
334
+ /* Name.Variable.Class */
335
+ .highlight .vg {
336
+ color: #f8f8f2
337
+ }
338
+
339
+ /* Name.Variable.Global */
340
+ .highlight .vi {
341
+ color: #f8f8f2
342
+ }
343
+
344
+ /* Name.Variable.Instance */
345
+ .highlight .vm {
346
+ color: #f8f8f2
347
+ }
348
+
349
+ /* Name.Variable.Magic */
350
+ .highlight .il {
351
+ color: #ae81ff
352
+ }
353
+
354
+ /* Literal.Number.Integer.Long */
@@ -0,0 +1,26 @@
1
+ ---
2
+ # Front matter comment to ensure Jekyll properly reads file.
3
+ ---
4
+
5
+ body.body-posts section.content #main-container {
6
+ word-wrap: break-word;
7
+ word-break: break-word;
8
+ }
9
+
10
+ body.body-posts section.content #main-container .highlight {
11
+ padding: 0.5em;
12
+ margin-top: 0.5em;
13
+ margin-bottom: 0.5em;
14
+ }
15
+
16
+ body.body-posts section.content #main-container .link-anchor {
17
+ color: var(--bs-body-color);
18
+ }
19
+
20
+ body.body-posts section.content #main-container .link-anchor:hover {
21
+ color: var(--bs-body-color);
22
+ }
23
+
24
+ body.body-posts section.content #main-container h1, h2, h3, h4, h5, h6 {
25
+ padding-top: 3rem;
26
+ }
Binary file