benjeto-jekyll-theme 0.0.8 → 0.1.1

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: 556179d6d678d50b1237c7225d8a14928d466fa8e5dcabdc41fb0d06c842fddd
4
- data.tar.gz: 592b6a80fde78d0ddecce0b100ed14e313c4dadfef708dc30fa2278a637b2287
3
+ metadata.gz: 0cbd89f4b4bc3422da534c723a23cf3970a9dcdc508a4a9014c4369cf63a8c31
4
+ data.tar.gz: aa0aebea8b0e13dbb73a91140b59d990d81edd353950247df17102d1d513a8ec
5
5
  SHA512:
6
- metadata.gz: 5387273550a837ac10915f3d3af89392390ee8ce8649d831e9c82737eaf562a16a54afa67d45b1be5e2184ad6b60d31046307b4ca1c69021e1fdaf3d0122689a
7
- data.tar.gz: 765b5cf134418ce8f52e9d3e1a3b7c564ce9fb06fd2fab4a2b16e96d5143f1f827b1af64f9aeadb01a497bfacaf3f05238890d660149d74406a7d9999af9676f
6
+ metadata.gz: 120f5a137d43d4f936f311f0da970ebdcb6cba46e6d79312e375a308fe79e6492baf60f7b8e13a2cf4338e0202e3d6c2049a1dc46a10a86fba0364a765826a3d
7
+ data.tar.gz: e0f7318bd819809d1cb5b96ec816eee68e8e23ea39505356bbfd87b8cda25cdc5ccd0087c79d2b1a8b7e8092ecb2c0ac4d877cebfa5ac2ae9960bc07c6233051
data/README.md CHANGED
@@ -1,6 +1,3 @@
1
- > [!CAUTION]
2
- > This theme is currently under development and not yet available.
3
-
4
1
  # Benjeto
5
2
 
6
3
  Benjeto is a sleek and modern Jekyll Theme designed to create personal websites that resemble social media profiles.
@@ -1,5 +1,7 @@
1
1
  <div class="app-box">
2
+ {%- if include.icon %}
2
3
  <img src="{{ include.icon | relative_url }}" class="app-icon" aria-hidden="true" alt="">
4
+ {%- endif %}
3
5
  <div class="app-info">
4
6
  <b>{{ include.title }}</b>
5
7
  {{ include.description }}
data/_includes/head.html CHANGED
@@ -6,6 +6,8 @@
6
6
  {%- capture title -%}{{ page.title }} - {{ site.title }}{% endcapture %}
7
7
  {%- elsif page.layout == "post" and page.title == "" -%}
8
8
  {%- capture title -%}{{ page.excerpt | strip_html }} - {{ site.title }}{% endcapture %}
9
+ {%- elsif page.layout == "home" and page.custom_home == true and page.title != "" -%}
10
+ {%- capture title -%}{{ site.title }} | {{ page.title }}{% endcapture %}
9
11
  {%- elsif page.layout == "home" and page.pagination.category -%}
10
12
  {%- capture title -%}{{ site.title }} | {{ page.title | default: texts.categories[page.pagination.category] }}{% endcapture %}
11
13
  {%- elsif page.layout == "home" and page.pagination.tag -%}
@@ -14,7 +16,7 @@
14
16
  {%- assign title = site.title -%}
15
17
  {%- endif -%}
16
18
  {%- assign icon = page.icon | default: page.image | default: settings.head.siteicon | default: profile.icon -%}
17
- {%- assign description = page.description | default: site.description | default: page.excerpt -%}
19
+ {%- assign description = page.description | default: settings.head.description | default: site.description | default: page.excerpt -%}
18
20
  <head>
19
21
  <meta charset="utf-8">
20
22
  <meta name="viewport" content="width=device-width,initial-scale=1.0">
data/_layouts/base.html CHANGED
@@ -6,7 +6,15 @@
6
6
  <noscript>
7
7
  <meta http-equiv="refresh" content="0;url={{ site.url }}/{{ site.lang | default: site.languages[0] }}{{ page.url | relative_url | replace: 'index.html', '' }}">
8
8
  </noscript>
9
-
9
+ {% if site.default_lang != "nil" -%}
10
+ <link rel="alternate" hreflang="{{ site.default_lang }}" href="{{ site.url }}{{ page.permalink }}">
11
+ {% endif -%}
12
+ {% for lang in site.languages -%}
13
+ {% if lang == site.default_lang -%}
14
+ {% continue -%}
15
+ {% endif -%}
16
+ <link rel="alternate" hreflang="{{ lang }}" href="{{ site.url }}/{{ lang }}{{ page.permalink }}">
17
+ {% endfor -%}
10
18
  {%- else -%}
11
19
 
12
20
  {% assign rtl_languages = "ar,arc,dv,fa,he,ks,nqo,ps,syr,ur,yi" | split: ',' %}
@@ -1,4 +1,5 @@
1
1
  div.section-box {
2
+ display: inline-block;
2
3
  margin: 16px 0;
3
4
  border: 1px solid var(--border);
4
5
  border-radius: 8px;
@@ -19,7 +20,6 @@ div.section-box {
19
20
  padding: 0;
20
21
  margin: 0;
21
22
  li {
22
- flex-grow: 1;
23
23
  padding: 0;
24
24
  padding-inline-end: 12px;
25
25
  border: none;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: benjeto-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cizzuk