benjeto-jekyll-theme 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/exlink.html +1 -1
- data/_includes/head.html +2 -2
- data/_layouts/home.html +13 -5
- data/_layouts/post.html +5 -5
- data/_sass/benjeto/css/home-tab.scss +1 -0
- 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: 5400bd9b6eca87f02633c5c10b2a40be9e265fdb48d07d3008da03ef80d62c64
|
4
|
+
data.tar.gz: b169a5e3233302cc1657128292e91e07d56fe21c03141fb30594864c289cf7fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5313ad641fa9d5792cbd35e304d35af154e960c12654a090b82f88b6f8920e213f51d16e1c3b3ecec44b86eb3ba515e93feff4bb7db8b48abb63ac03d7cc3dea
|
7
|
+
data.tar.gz: 52aab4813f8b00c7a83b32df87914ecfeecffbfac399ae7a2ffc6719246aeb373d5299ebb59711f80d88afe70e4a6f3b9f3a34006cba9f17ff9c0aaa9947593a
|
data/_includes/exlink.html
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
<li itemprop="url">
|
2
2
|
{%- assign entry = include.item -%}
|
3
|
-
<a href="{{ entry.url }}" target="_blank" rel="nofollow" title="{{ entry.name }}">
|
3
|
+
<a href="{{ entry.url }}" target="_blank" rel="nofollow" title="{{ entry.name }}" itemprop="sameAs">
|
4
4
|
{{- entry.name -}}
|
5
5
|
</a></li>
|
data/_includes/head.html
CHANGED
@@ -54,10 +54,10 @@
|
|
54
54
|
{% endif -%}
|
55
55
|
{% if page.layout == "post" -%}
|
56
56
|
{% if page.date -%}
|
57
|
-
<meta property="article:published_time" content="{{ page.date |
|
57
|
+
<meta property="article:published_time" content="{{ page.date | date_to_iso8601 }}">
|
58
58
|
{% endif -%}
|
59
59
|
{% if page.update -%}
|
60
|
-
<meta property="article:modified_time" content="{{ page.update |
|
60
|
+
<meta property="article:modified_time" content="{{ page.update | date_to_iso8601 }}">
|
61
61
|
{% endif -%}
|
62
62
|
{% endif -%}
|
63
63
|
{% endif -%}
|
data/_layouts/home.html
CHANGED
@@ -8,11 +8,11 @@ layout: base
|
|
8
8
|
<div class="header"><img src="{{ profile.header | relative_url }}" alt aria-hidden></div>
|
9
9
|
{%- endif %}
|
10
10
|
|
11
|
-
<main>
|
12
|
-
<header class="home">
|
11
|
+
<main itemtype="https://schema.org/ProfilePage" itemscope>
|
12
|
+
<header class="home" itemprop="mainEntity" itemtype="https://schema.org/Person" itemscope>
|
13
13
|
<div class="header-top">
|
14
14
|
<div class="nameline">
|
15
|
-
<h1>{{ profile.name | default: site.title }}</h1>
|
15
|
+
<h1 itemprop="name">{{ profile.name | default: site.title }}</h1>
|
16
16
|
{%- if profile.pronouns %}
|
17
17
|
<span class="pronouns" itemprop="pronouns">{{ profile.pronouns }}</span>
|
18
18
|
{%- endif %}
|
@@ -20,7 +20,7 @@ layout: base
|
|
20
20
|
<div class="headline">
|
21
21
|
<a class="proficon{% if settings.round_icon == true %} round{% endif %}{% if profile.header == nil %} no-header{% endif %}" href="{{ "/" | relative_url }}" aria-hidden="true">
|
22
22
|
{%- if profile.icon %}
|
23
|
-
<img src="{{ profile.icon | relative_url }}" alt="">
|
23
|
+
<img src="{{ profile.icon | relative_url }}" alt="" itemprop="image">
|
24
24
|
{%- else %}
|
25
25
|
<div class="dummy"></div>
|
26
26
|
{%- endif %}
|
@@ -29,7 +29,7 @@ layout: base
|
|
29
29
|
</div>
|
30
30
|
</div>
|
31
31
|
{%- if profile.bio %}
|
32
|
-
<p class="bio">{{ profile.bio }}</p>
|
32
|
+
<p class="bio" itemprop="description">{{ profile.bio }}</p>
|
33
33
|
{%- endif %}
|
34
34
|
<ul class="exlink">
|
35
35
|
{%- if profile.links -%}
|
@@ -132,6 +132,14 @@ layout: base
|
|
132
132
|
{%- endif -%}
|
133
133
|
|
134
134
|
{%- else -%}
|
135
|
+
<div class="tab-description">
|
136
|
+
{%- if page.tab.description %}
|
137
|
+
<p>{{ page.tab.description }}</p>
|
138
|
+
{%- endif %}
|
139
|
+
{%- if page.tab.feed %}
|
140
|
+
<a class="menu-btn subscribe" href="{{ page.tab.feed | relative_url }}" title="{{ texts.subscribe_menu }}">{{ texts.subscribe }}</a>
|
141
|
+
{%- endif %}
|
142
|
+
</div>
|
135
143
|
<div class="custom-home">
|
136
144
|
{{ content }}
|
137
145
|
</div>
|
data/_layouts/post.html
CHANGED
@@ -3,10 +3,10 @@ layout: base
|
|
3
3
|
---
|
4
4
|
{%- assign texts = site.data.texts -%}
|
5
5
|
{%- assign settings = site.data.settings -%}
|
6
|
-
<header class="post">
|
6
|
+
<header class="post" itemscope itemtype="https://schema.org/NewsArticle">
|
7
7
|
{%- include miniprof.html type="nav" -%}
|
8
8
|
{%- if page.title != "" and page.hide_title != true -%}
|
9
|
-
<h1>{{ page.title }}</h1>
|
9
|
+
<h1 itemprop="headline">{{ page.title }}</h1>
|
10
10
|
{%- endif -%}
|
11
11
|
<div class="meta">
|
12
12
|
{%- include category.html category=page.category link=true %}
|
@@ -14,18 +14,18 @@ layout: base
|
|
14
14
|
{%- if page.date or page.update %}
|
15
15
|
<div class="time">
|
16
16
|
{%- assign date_format = page.date_format | default: texts.date_format | default: "%Y-%m-%d" -%}
|
17
|
-
<time datetime="{{ page.date |
|
17
|
+
<time itemprop="datePublished" datetime="{{ page.date | date_to_iso8601 }}">
|
18
18
|
{{ page.date | date: texts.date_format -}}
|
19
19
|
</time>
|
20
20
|
{%- if page.update %}
|
21
|
-
<time datetime="{{ page.update |
|
21
|
+
<time itemprop="dateModified" datetime="{{ page.update | date_to_iso8601 }}">
|
22
22
|
{{- texts.update }} {{ page.update | date: texts.date_format -}}
|
23
23
|
</time>
|
24
24
|
{%- endif %}
|
25
25
|
</div>
|
26
26
|
{%- endif %}
|
27
27
|
{%- if page.author %}
|
28
|
-
<span class="author"
|
28
|
+
<span class="author">
|
29
29
|
{%- for author in page.author -%}
|
30
30
|
{{ author }}
|
31
31
|
{%- if forloop.last == false %}, {% endif -%}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: benjeto-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cizzuk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|