benjeto-jekyll-theme 0.2.6 → 0.2.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 348eea5bc9bc577248de595d5c8550c9a173cb8d5983fc0c4163689551f7c822
4
- data.tar.gz: cf1e8a72c651737e54403afb74db233083ee012e71ae0d02b37f389f885b3752
3
+ metadata.gz: 5400bd9b6eca87f02633c5c10b2a40be9e265fdb48d07d3008da03ef80d62c64
4
+ data.tar.gz: b169a5e3233302cc1657128292e91e07d56fe21c03141fb30594864c289cf7fc
5
5
  SHA512:
6
- metadata.gz: 54e62a712e2f77820f704adb6ae1d5e069abed240c0de66154249527d9aeeae24c32b64aa2f9ec2fafbdd0926c8345e988ee77ad1bc90f2a742dc86972af57b5
7
- data.tar.gz: 255a2f77a2d69c62b4a32c37212634873b05a4b5f8344ae0e4a62b4e01bf4ef9e4695b6b3857f8e60cea41bf01197acaa55049f330c66ec2193ebce95bec0a43
6
+ metadata.gz: 5313ad641fa9d5792cbd35e304d35af154e960c12654a090b82f88b6f8920e213f51d16e1c3b3ecec44b86eb3ba515e93feff4bb7db8b48abb63ac03d7cc3dea
7
+ data.tar.gz: 52aab4813f8b00c7a83b32df87914ecfeecffbfac399ae7a2ffc6719246aeb373d5299ebb59711f80d88afe70e4a6f3b9f3a34006cba9f17ff9c0aaa9947593a
@@ -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 | date_to_xmlschema }}">
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 | date_to_xmlschema }}">
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 | date_to_xmlschema }}">
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 | date_to_xmlschema }}">
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" itemprop="name">
28
+ <span class="author">
29
29
  {%- for author in page.author -%}
30
30
  {{ author }}
31
31
  {%- if forloop.last == false %}, {% endif -%}
@@ -46,6 +46,7 @@ div.tab-description {
46
46
  align-items: center;
47
47
  margin: 8px 0;
48
48
  padding: 0 8px;
49
+ min-height: 40px;
49
50
  p {
50
51
  margin: 0 8px 0 4px;
51
52
  }
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.6
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-20 00:00:00.000000000 Z
11
+ date: 2024-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll