whiteblog-theme 0.4.0 → 0.4.1
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 +2 -0
- data/_includes/head.html +5 -6
- data/_layouts/post.html +1 -7
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9a3995856c22e9d7a12798f5860e53157670901c3dff2631b2517fc9dbf32a06
|
|
4
|
+
data.tar.gz: b07804f7710c7e334eee316a8a8c88ba57befd4ead5cae6f242868a890260f21
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b416620b6b819b44db45befdc09d47a5ec289fcbb6a80cd09e3d97032979e019f42796e12146c86e881e196b832c77f793c397591346f3a40a02e2a5f54b2361
|
|
7
|
+
data.tar.gz: 18f9501815396ed88bd075c523e7ec3c4ffe92925fba0b3175c175ef76764a4a0c6ff6c7f1275254ac0d63ff2df3256ecdc41a3ccabc3ba67359bb1788e9be0f
|
data/_includes/comments.html
CHANGED
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
{% when "disqus" %}
|
|
4
4
|
<h4>Comments</h4>
|
|
5
5
|
<section id="disqus_thread"></section>
|
|
6
|
+
{% include comments-providers/disqus.html %}
|
|
6
7
|
{% when "cusdis" %}
|
|
7
8
|
<h4>Comments</h4>
|
|
8
9
|
{% include comments-providers/cusdis.html %}
|
|
9
10
|
{% when "giscus" %}
|
|
11
|
+
<h4>Comments</h4>
|
|
10
12
|
{% include comments-providers/giscus.html %}
|
|
11
13
|
{% endcase %}
|
|
12
14
|
</div>
|
data/_includes/head.html
CHANGED
|
@@ -7,14 +7,13 @@
|
|
|
7
7
|
<title>{% if page.title %}{{ page.title }} | {{ site.title }}{% else %}{{ site.title }}{% endif %}</title>
|
|
8
8
|
<link rel="icon" type="image/x-icon" href="/assets/images/favicon.ico">
|
|
9
9
|
|
|
10
|
-
{%
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
<meta name="description" content="{{ site.description | escape }}">
|
|
10
|
+
{% assign _desc = page.excerpt | strip_html | truncate: 160 | default: page.description | default: site.description %}
|
|
11
|
+
{% if _desc %}
|
|
12
|
+
<meta name="description" content="{{ _desc | escape }}">
|
|
14
13
|
{% endif %}
|
|
15
14
|
|
|
16
15
|
<meta property="og:title" content="{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}">
|
|
17
|
-
<meta property="og:description" content="{{
|
|
16
|
+
<meta property="og:description" content="{{ _desc | escape }}">
|
|
18
17
|
<meta property="og:url" content="{{ page.url | absolute_url }}">
|
|
19
18
|
<meta property="og:site_name" content="{{ site.title | escape }}">
|
|
20
19
|
{% if page.layout == "post" %}
|
|
@@ -27,7 +26,7 @@
|
|
|
27
26
|
|
|
28
27
|
<meta name="twitter:card" content="summary_large_image">
|
|
29
28
|
<meta name="twitter:title" content="{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}">
|
|
30
|
-
<meta name="twitter:description" content="{{
|
|
29
|
+
<meta name="twitter:description" content="{{ _desc | escape }}">
|
|
31
30
|
{% if page.slug %}
|
|
32
31
|
<meta name="twitter:image" content="{{ site.url }}/assets/images/previews/{{ page.slug }}.png">
|
|
33
32
|
<meta property="og:image" content="{{ site.url }}/assets/images/previews/{{ page.slug }}.png">
|
data/_layouts/post.html
CHANGED
|
@@ -9,7 +9,7 @@ layout: default
|
|
|
9
9
|
"datePublished": "{{ page.date | date_to_xmlschema }}",
|
|
10
10
|
"dateModified": "{{ page.last_modified_at | default: page.date | date_to_xmlschema }}",
|
|
11
11
|
"url": "{{ page.url | absolute_url }}",
|
|
12
|
-
"description": {{ page.description | default: site.description | jsonify }},
|
|
12
|
+
"description": {{ page.excerpt | strip_html | truncate: 200 | default: page.description | default: site.description | jsonify }},
|
|
13
13
|
"author": {
|
|
14
14
|
"@type": "Person",
|
|
15
15
|
"name": {{ site.author.name | jsonify }},
|
|
@@ -102,12 +102,6 @@ layout: default
|
|
|
102
102
|
{% include backtotop.html %}
|
|
103
103
|
{% endif %}
|
|
104
104
|
|
|
105
|
-
{% if site.comments.provider %}
|
|
106
|
-
{% case site.comments.provider %}
|
|
107
|
-
{% when "disqus" %}
|
|
108
|
-
{% include comments-providers/disqus.html %}
|
|
109
|
-
{% endcase %}
|
|
110
|
-
{% endif %}
|
|
111
105
|
</div>
|
|
112
106
|
|
|
113
107
|
</article>
|
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.4.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Victor Silva
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-06-
|
|
11
|
+
date: 2026-06-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|