whiteblog-theme 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/backtotop.html +3 -0
- data/_includes/head.html +0 -13
- data/_includes/sharepost.html +16 -0
- data/_layouts/home.html +2 -2
- data/_layouts/page.html +3 -1
- data/_layouts/post.html +16 -16
- data/_sass/whiteblog-theme/_layout.scss +40 -23
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12c09d435ac5b03895fd4920f1eb155d8529e4ee8f56d37c3a6d1dbe65c8b83c
|
4
|
+
data.tar.gz: b5342e4ed7d292609a9d6b26b16dbae3537fce26a0397ad8ea5210f64ff6d142
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 434f4f90901c1eacd85da8aae56b9a5e24b49bfda270a469eb05f7f8871ca40b7ce6031596de4257d6833f20f2eaef9ce32451b645b2de5c73164fe7437a44c3
|
7
|
+
data.tar.gz: f15e894bb5391be72f0f2a92f982652ab37f928e0905b017a9565a47d95157811a46ca1724359edd7e66f807c4e7ef0aac21000065f006f1e258f0f8d8efb3a8
|
data/_includes/head.html
CHANGED
@@ -4,25 +4,12 @@
|
|
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
|
-
{% if page.image.feature %}
|
8
|
-
<meta name="twitter:card"
|
9
|
-
content="summary_large_image">
|
10
|
-
<meta name="twitter:image"
|
11
|
-
content="{{ site.url }}/images/{{ page.image.feature }}">
|
12
|
-
{% elsif page.auto_image %}
|
13
7
|
<meta name="twitter:card"
|
14
8
|
content="summary_large_image">
|
15
9
|
<meta name="twitter:image"
|
16
10
|
content="{{ site.url }}/assets/images/previews/{{ page.slug }}.png">
|
17
|
-
{%endif%}
|
18
|
-
|
19
|
-
{% if page.image.feature %}
|
20
|
-
<meta property="og:image"
|
21
|
-
content="{{ site.url }}/images/{{ page.image.feature }}">
|
22
|
-
{% elsif page.auto_image %}
|
23
11
|
<meta property="og:image"
|
24
12
|
content="{{ site.url }}/assets/images/previews/{{ page.slug }}.png">
|
25
|
-
{% endif %}
|
26
13
|
|
27
14
|
<!-- Bootstrap CSS -->
|
28
15
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<div class="col text-final" id="share-links">
|
2
|
+
<h5><i class="bi bi-share"></i></h5>
|
3
|
+
<div class="row">
|
4
|
+
<div class="col float-start">
|
5
|
+
<ul>
|
6
|
+
<li>
|
7
|
+
<a href="https://twitter.com/share?text={{ page.title | url_encode }}&url={{ site.url }}{{ page.url }}" target="_blank" rel="noopener" title="X.com"><i class="bi bi-twitter-x"></i> Share on X</a>
|
8
|
+
</li>
|
9
|
+
<li>
|
10
|
+
<a href="https://linkedin.com/shareArticle?mini=true&url={{ site.url }}{{ page.url }}" target="_blank" rel="noopener" title="LinkedIn"><i class="bi bi-linkedin"></i> Share on LinkedIn</a>
|
11
|
+
</li>
|
12
|
+
</ul>
|
13
|
+
|
14
|
+
</div>
|
15
|
+
</div>
|
16
|
+
</div>
|
data/_layouts/home.html
CHANGED
@@ -11,8 +11,8 @@ layout: default
|
|
11
11
|
{% assign date_format = "%b %-d, %Y" %}
|
12
12
|
{% for post in posts %}
|
13
13
|
<li class="py-2">
|
14
|
-
<h1 class="mt-1 mb-3 h3 title-post-resume
|
15
|
-
<a class="title-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
|
14
|
+
<h1 class="mt-1 mb-3 h3 title-post-resume">
|
15
|
+
<a class="title-link" href="{{ post.url | relative_url }}"><span class="underline">{{ post.title | escape }}</span></a>
|
16
16
|
</h1>
|
17
17
|
|
18
18
|
<span class="text-secondary">{{ post.date | date: date_format }}</span>
|
data/_layouts/page.html
CHANGED
data/_layouts/post.html
CHANGED
@@ -19,7 +19,9 @@ layout: default
|
|
19
19
|
</div>
|
20
20
|
|
21
21
|
<header>
|
22
|
-
<h1
|
22
|
+
<h1>
|
23
|
+
<span class="underline">{{ page.title | escape }}</span>
|
24
|
+
</h1>
|
23
25
|
<p class="text-secondary">
|
24
26
|
<i class="fa fa-calendar-alt"></i><span style="display:inline-block; width: 3px;"></span>
|
25
27
|
<time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
@@ -44,22 +46,20 @@ layout: default
|
|
44
46
|
{{ content }}
|
45
47
|
</div>
|
46
48
|
|
47
|
-
<div>
|
48
|
-
|
49
|
+
<div class="row">
|
50
|
+
{% if site.addons.share_post %}
|
51
|
+
{% include sharepost.html %}
|
52
|
+
{% endif %}
|
49
53
|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
<div class="col float-start">
|
54
|
-
<a href="https://twitter.com/share?text={{ page.title | url_encode }}&url={{ site.url }}{{ page.url }}" target="_blank" rel="noopener" title="Share on Twitter">X.com</a>
|
55
|
-
</div>
|
56
|
-
<div class="col float-end">
|
57
|
-
<a class="float-end" href="#blog-title">Back to Top!</a>
|
58
|
-
</div>
|
59
|
-
</div>
|
54
|
+
{% if site.addons.back_to_top %}
|
55
|
+
{% include backtotop.html %}
|
56
|
+
{% endif %}
|
60
57
|
|
61
|
-
|
62
|
-
|
63
|
-
|
58
|
+
{% if site.comments.provider%}
|
59
|
+
{% if site.comments.provider == "disqus" %}
|
60
|
+
{% include comments-providers/disqus.html %}
|
61
|
+
{% endif %}
|
62
|
+
{% endif %}
|
63
|
+
</div>
|
64
64
|
|
65
65
|
</article>
|
@@ -191,6 +191,27 @@ a.badge {
|
|
191
191
|
text-decoration: none;
|
192
192
|
}
|
193
193
|
|
194
|
+
.back {
|
195
|
+
margin-top: 45px !important;
|
196
|
+
font-size: 30px;
|
197
|
+
color: $thirdColor;
|
198
|
+
border-radius: 10px;
|
199
|
+
border: 2px solid $thirdColor;
|
200
|
+
padding: 1px 10px;
|
201
|
+
}
|
202
|
+
|
203
|
+
#share-links ul {
|
204
|
+
list-style-type: none;
|
205
|
+
padding-left: 0px;
|
206
|
+
li {
|
207
|
+
padding-top: 5px;
|
208
|
+
padding-bottom: 5px;
|
209
|
+
a {
|
210
|
+
text-decoration: none;
|
211
|
+
}
|
212
|
+
}
|
213
|
+
}
|
214
|
+
|
194
215
|
/* Effects */
|
195
216
|
|
196
217
|
#category-badge a:hover, #category-badge a:focus, #category-badge a:active {
|
@@ -199,27 +220,23 @@ a.badge {
|
|
199
220
|
transform: scale(1.1);
|
200
221
|
}
|
201
222
|
|
202
|
-
.underline {
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
bottom: 0;
|
222
|
-
height: 100%;
|
223
|
-
}
|
224
|
-
|
223
|
+
h1 > .underline {
|
224
|
+
text-decoration: none;
|
225
|
+
box-shadow: inset 0 -19px 0 $secondColor, 0 0px 0 $secondColor;
|
226
|
+
transition: box-shadow .3s;
|
227
|
+
color: inherit;
|
228
|
+
overflow: hidden;
|
229
|
+
// font-size: 2rem;
|
230
|
+
}
|
231
|
+
|
232
|
+
a > .underline {
|
233
|
+
text-decoration: none;
|
234
|
+
box-shadow: inset 0 -14px 0 $secondColor, 0 0px 0 $secondColor;
|
235
|
+
transition: box-shadow .3s;
|
236
|
+
color: inherit;
|
237
|
+
overflow: hidden;
|
238
|
+
}
|
239
|
+
|
240
|
+
.underline:hover {
|
241
|
+
box-shadow: inset 0 -45px 0 $secondColor, 0 0px 0 $secondColor;
|
225
242
|
}
|
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.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Victor Silva
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -75,10 +75,12 @@ extra_rdoc_files: []
|
|
75
75
|
files:
|
76
76
|
- LICENSE.txt
|
77
77
|
- README.md
|
78
|
+
- _includes/backtotop.html
|
78
79
|
- _includes/comments-providers/disqus.html
|
79
80
|
- _includes/footer.html
|
80
81
|
- _includes/head.html
|
81
82
|
- _includes/header.html
|
83
|
+
- _includes/sharepost.html
|
82
84
|
- _layouts/allposts.html
|
83
85
|
- _layouts/categories.html
|
84
86
|
- _layouts/default.html
|