benjeto-jekyll-theme 0.0.8 → 0.1.0

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: 3f88054a767861aba9d5d1f044582cdb3e96838105b634161620d586fe7d1948
4
+ data.tar.gz: 2f4075c7cd9583ffd622d613887288ebb62b990dcecc00b1ba59a9e3a3b331d2
5
5
  SHA512:
6
- metadata.gz: 5387273550a837ac10915f3d3af89392390ee8ce8649d831e9c82737eaf562a16a54afa67d45b1be5e2184ad6b60d31046307b4ca1c69021e1fdaf3d0122689a
7
- data.tar.gz: 765b5cf134418ce8f52e9d3e1a3b7c564ce9fb06fd2fab4a2b16e96d5143f1f827b1af64f9aeadb01a497bfacaf3f05238890d660149d74406a7d9999af9676f
6
+ metadata.gz: 727a82adef2381bd930c3d4435f9d6aeeaa8c241916e42f4c3292e54353f078ccaefaef6c587bf625bb840487acfd4af7b1752379623e9be5d06641224bea7a3
7
+ data.tar.gz: 951741409c4145dd3ef86f8730dd39fc5e79b03cf1d8432119bf9d65af3fc7fa4118cec08cf6a2ec2c2b8f657f56f3c66f687700fe2e73b650ce059acb19428b
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.
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.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cizzuk