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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c9ee6295b2edcf49e25f365bed0582b87a76e12ab2c7e2a0168444dcf032126
4
- data.tar.gz: 26c54d49d236252ebe047d48c219611062ddee1f5388850df81fb8356787ae81
3
+ metadata.gz: 12c09d435ac5b03895fd4920f1eb155d8529e4ee8f56d37c3a6d1dbe65c8b83c
4
+ data.tar.gz: b5342e4ed7d292609a9d6b26b16dbae3537fce26a0397ad8ea5210f64ff6d142
5
5
  SHA512:
6
- metadata.gz: 1831d76d33ab373bab801f11147f1d2b67fa2718c7b22c2af483bc5efb41b904468a35a9b9c761da3b1edf1794d63ecbdd88f156d83f04507c9e6c1498f1791f
7
- data.tar.gz: 5efe871b332838044b3618db81d1cbf743930db669b73f73c44237633bbf2c5931b6f69a4cd952bb350779badb312becc9b0ac15d901ed0b18d250451d9c9f92
6
+ metadata.gz: 434f4f90901c1eacd85da8aae56b9a5e24b49bfda270a469eb05f7f8871ca40b7ce6031596de4257d6833f20f2eaef9ce32451b645b2de5c73164fe7437a44c3
7
+ data.tar.gz: f15e894bb5391be72f0f2a92f982652ab37f928e0905b017a9565a47d95157811a46ca1724359edd7e66f807c4e7ef0aac21000065f006f1e258f0f8d8efb3a8
@@ -0,0 +1,3 @@
1
+ <div class="col float-end">
2
+ <a class="float-end back" href="#"><i class="bi bi-chevron-double-up"></i></a>
3
+ </div>
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 underline">
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
@@ -4,7 +4,9 @@ layout: default
4
4
  <article>
5
5
 
6
6
  <header>
7
- <h1 class="underline">{{ page.title }}</h1>
7
+ <h1>
8
+ <span class="underline">{{ page.title }}</span>
9
+ </h1>
8
10
  </header>
9
11
 
10
12
  <div id="content">
data/_layouts/post.html CHANGED
@@ -19,7 +19,9 @@ layout: default
19
19
  </div>
20
20
 
21
21
  <header>
22
- <h1 class="underline">{{ page.title | escape }}</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
- </div>
49
+ <div class="row">
50
+ {% if site.addons.share_post %}
51
+ {% include sharepost.html %}
52
+ {% endif %}
49
53
 
50
- <div class="text-final" id="share-links">
51
- <h5>Share this post</h5>
52
- <div class="row">
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
- {% if site.comments.provider and page.comments %}
62
- {% include comments.html %}
63
- {% endif %}
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
- font-family: "Space Grotesk";
204
- display: table;
205
- background: linear-gradient(180deg,rgba(255,255,255,0) 65%, $secondColor 8px);
206
- transition: all 0.3s linear;
207
- position: relative;
208
- &::before {
209
- content: '';
210
- background-color: $secondColor;
211
- position: absolute;
212
- left: 0;
213
- bottom: 3px;
214
- width: 100%;
215
- height: 8px;
216
- z-index: -1;
217
- transition: all .3s ease-in-out;
218
- }
219
-
220
- &:hover::before {
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.10
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-04-21 00:00:00.000000000 Z
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