jekyll-theme-simplix 0.3.3 → 0.4

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: edf5f2d7fb1eeb2625fd0d589c4e80e423ca85dcecadb268c577c7f32959a081
4
- data.tar.gz: 26ad256d8cdcb17f87af5fa120ef4605df04dc42b3b918dd912164c2ff9d10de
3
+ metadata.gz: '08255e4c1f18cf88a00450bf4bd09d33d1b1f01c111bc2aa7c39c63c8fcd6fde'
4
+ data.tar.gz: dfe18cdc18fd3588df496c4b495f7c5341a8dcea57fd64fc911e7e1edc4d7972
5
5
  SHA512:
6
- metadata.gz: 642323e6525f8747253952a33f45e7eac81e2f97f36c39bbf8c94d72bb6287386e072170bb3c8befaafcdd55b76b525fddb7535b703984e7b3b555a01aab3a7f
7
- data.tar.gz: 491922778eb64cab1ea3020dddda44c6978329ab21b5b2e9ff75c0c44c0f68207aaa3063051d2d6d930a4be638f8005f591e880f846fd137cb38b746a804c407
6
+ metadata.gz: d90e50a05cc5d82e41f98b2a27bc353d4713eeecd365d4d66f32e8bae4ef2a6cba35037672d54f0db44c617c184165f674583a01127d5c71fcd6d5838abf28c9
7
+ data.tar.gz: 7536ffd4f19510a640805c4757dcb01016585209a4055da04780013dbf45ce2ccca79d79f81f26fc81fc14ed20b008c3b65dd510ccbb4e7be492104e7da7e1f6
@@ -1 +1,4 @@
1
- <footer><i class="ph ph-paint-brush"></i>&nbsp;Theme by <a href="https://github.com/lithier94675">lithier94675</a><br>View on <a href="https://github.com/lithier94675/jekyll-theme-simplix">GitHub</a></footer>
1
+ <footer>
2
+ <i class="ph ph-paint-brush"></i>
3
+ <span>&nbsp;Theme by <a href="https://github.com/lithier94675">lithier94675</a><br>View on <a href="https://github.com/lithier94675/jekyll-theme-simplix">GitHub</a></span>
4
+ </footer>
@@ -1,8 +1,17 @@
1
1
  <ul>
2
2
  {% for group in include.group %}
3
+ {% case include.dir %}
4
+ {% when 'tag' %}
5
+ {% assign link = '/tag/:name/' %}
6
+ {% when 'category' %}
7
+ {% assign link = '/category/:name/' %}
8
+ {% else %}
9
+ {% break %}
10
+ {% endcase %}
11
+ {% assign name = group[0] | slugify: 'ascii' %}
3
12
  <li>
4
13
  <i class="ph ph-{{ include.icon | default: 'book' }}"></i>
5
- <a href="{{ include.dir | prepend: '/' | append: '/' | relative_url }}{{ group[0] | slugify: 'ascii' }}">{{ group[0] }}</a>&nbsp;<span>{{ group[1].size }} post{% if group[1].size > 1 %}s{% endif %}</span></p>
14
+ <a href="{{ site['jekyll-archives'].permalinks[include.dir] | default: link | replace: ':name', name | relative_url }}">{{ group[0] }}</a>&nbsp;<span>{{ group[1].size }} post{% if group[1].size > 1 %}s{% endif %}</span></p>
6
15
  </li>
7
16
  {% endfor %}
8
17
  </ul>
@@ -29,7 +29,7 @@
29
29
  <i class="ph ph-file"></i>
30
30
  <div>
31
31
  <a href="{{ post.url | relative_url }}">{{ post.title }}</a><br>
32
- <p><span>{{ post.date | date_to_string }} </span>{{ post.content | strip_html | truncate: 67 }}</p>
32
+ <p><span>{{ post.date | date_to_string }}</span> {{ post.content | strip_html | truncate: 67 }}</p>
33
33
  </div>
34
34
  </li>
35
35
  {% endfor %}
@@ -14,11 +14,54 @@ src:
14
14
  <html lang="{{ page.lang | default: site.lang | default: 'en-US' }}">
15
15
 
16
16
  <head>
17
- {% include head.html %}
17
+ <meta charset="utf-8">
18
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
19
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
20
+ <meta name="viewport" content="width=device-width, initial-scale=1">
21
+ <meta name="IE_RM_OFF" content="true">
22
+
23
+ <title>{{ page.title | default: site.title | default: 'Untitled' }}</title>
24
+ <link rel="icon" href="{{ page.icon | default: site.icon | default: '/favicon.ico' | relative_url }}">
25
+ {% assign desc = page.description | default: site.description %}
26
+ {% if page.path != '404.html' and desc %}<meta name="description" content="{{ desc }}">{% endif %}
27
+
28
+ <link rel="preconnect" href="https://fonts.googleapis.com" crossorigin>
29
+ <link rel="stylesheet" type="text/css" href="{{ '/assets/style.css' | relative_url }}">
30
+ {% if page.layout == 'home' or page.layout == 'post' %}
31
+ {% if layout.title_bg_light or layout.title_bg_dark %}
32
+ {% if page.title_bg_fill or site.title_bg_fill %}
33
+ <style type="text/css" media="screen">
34
+ body#main__theme-light .main__bg {
35
+ background: {{ page.title_bg_light | default: page.title_bg | default: layout.title_bg_light | default: site.title_bg[page.layout][0] | default: 'white' }} center fixed !important;
36
+ }
37
+
38
+ body#main__theme-dark .main__bg {
39
+ background: {{ page.title_bg_dark | default: page.title_bg | default: layout.title_bg_dark | default: site.title_bg[page.layout][1] | default: site.title_bg[page.layout][0] | default: 'black' }} center fixed;
40
+ }
41
+ </style>
42
+ <div class="main__bg"></div>
43
+ {% else %}
44
+ <style type="text/css" media="screen">
45
+ body#main__theme-light header {
46
+ background: {{ page.title_bg_light | default: page.title_bg | default: layout.title_bg_light | default: site.title_bg[page.layout][0] | default: 'white' }} !important;
47
+ }
48
+
49
+ body#main__theme-dark header {
50
+ background: {{ page.title_bg_dark | default: page.title_bg | default: layout.title_bg_dark | default: site.title_bg[page.layout][1] | default: site.title_bg[page.layout][0] | default: 'black' }};
51
+ }
52
+ </style>
53
+ {% endif %}
54
+ {% endif %}
55
+ {% endif %}
56
+
57
+ {% for src in layout.src %}
58
+ <script type="text/javascript" src="{{ src }}"></script>
59
+ {% endfor %}
18
60
  {% if jekyll.environment == 'development' or site.debug %}
19
61
  <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/eruda"></script>
20
62
  <script type="text/javascript">!document.documentMode && eruda.init()</script>
21
63
  {% endif %}
64
+ <script type="text/javascript" src="{{ '/assets/script.js' | relative_url }}" defer></script>
22
65
  </head>
23
66
 
24
67
  {% assign len = page.content | strip | size %}
data/_layouts/page.html CHANGED
@@ -2,7 +2,7 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- <header class="page__header{% unless page.title and page.description %} page__header-blank{% endunless %}">
5
+ <header class="page__header{% unless page.title or page.description %} page__header-blank{% endunless %}">
6
6
  <h1>{{ page.title }}</h1>
7
7
  <p>{{ page.description }}</p>
8
8
  </header>
data/_sass/abcjs.scss CHANGED
@@ -68,7 +68,7 @@ $track-bg-end: max(50%, min(50% * (1 + $track-bg-height / $track-height), 100%))
68
68
  }
69
69
 
70
70
  .abcjs-midi-clock {
71
- font-family: monospace;
71
+ font-family: "Source Code Pro", "Roboto Mono", Consolas, "Courier New", Courier, monospace;
72
72
  }
73
73
 
74
74
  @keyframes spin {
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-simplix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: '0.4'
5
5
  platform: ruby
6
6
  authors:
7
7
  - lithier94675
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2026-05-04 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: jekyll
@@ -38,8 +37,6 @@ dependencies:
38
37
  - - "~>"
39
38
  - !ruby/object:Gem::Version
40
39
  version: '1.9'
41
- description:
42
- email:
43
40
  executables: []
44
41
  extensions: []
45
42
  extra_rdoc_files: []
@@ -47,7 +44,6 @@ files:
47
44
  - LICENSE
48
45
  - README.md
49
46
  - _includes/footer.html
50
- - _includes/head.html
51
47
  - _includes/list-group.html
52
48
  - _includes/list-post.html
53
49
  - _includes/ui.html
@@ -69,7 +65,6 @@ metadata:
69
65
  source_code_uri: https://github.com/lithier94675/jekyll-theme-simplix
70
66
  bug_tracker_uri: https://github.com/lithier94675/jekyll-theme-simplix/issues
71
67
  homepage_uri: https://lithier94675.github.io/jekyll-theme-simplix
72
- post_install_message:
73
68
  rdoc_options: []
74
69
  require_paths:
75
70
  - lib
@@ -84,8 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
79
  - !ruby/object:Gem::Version
85
80
  version: '0'
86
81
  requirements: []
87
- rubygems_version: 3.5.22
88
- signing_key:
82
+ rubygems_version: 3.6.9
89
83
  specification_version: 4
90
84
  summary: A simple Jekyll theme made with gradient colors
91
85
  test_files: []
data/_includes/head.html DELETED
@@ -1,44 +0,0 @@
1
- <meta charset="utf-8">
2
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
3
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
- <meta name="viewport" content="width=device-width, initial-scale=1">
5
- <meta name="IE_RM_OFF" content="true">
6
-
7
- <title>{{ page.title | default: site.title | default: 'Untitled' }}</title>
8
- <link rel="icon" href="{{ page.icon | default: site.favicon | default: '/favicon.ico' | relative_url }}">
9
- {% assign desc = page.description | default: site.description %}
10
- {% if page.path != '404.html' and desc %}<meta name="description" content="{{ desc }}">{% endif %}
11
-
12
- <link rel="preconnect" href="https://fonts.googleapis.com" crossorigin>
13
- <link rel="stylesheet" type="text/css" href="{{ '/assets/style.css' | relative_url }}">
14
- {% if page.layout == 'home' or page.layout == 'post' %}
15
- {% if layout.title_bg_light or layout.title_bg_dark %}
16
- {% if page.title_bg_fill or site.title_bg_fill %}
17
- <style type="text/css" media="screen">
18
- body#main__theme-light .main__bg {
19
- background: {{ page.title_bg_light | default: page.title_bg | default: layout.title_bg_light | default: site.title_bg[page.layout][0] | default: 'white' }} center fixed !important;
20
- }
21
-
22
- body#main__theme-dark .main__bg {
23
- background: {{ page.title_bg_dark | default: page.title_bg | default: layout.title_bg_dark | default: site.title_bg[page.layout][1] | default: site.title_bg[page.layout][0] | default: 'black' }} center fixed;
24
- }
25
- </style>
26
- <div class="main__bg"></div>
27
- {% else %}
28
- <style type="text/css" media="screen">
29
- body#main__theme-light header {
30
- background: {{ page.title_bg_light | default: page.title_bg | default: layout.title_bg_light | default: site.title_bg[page.layout][0] | default: 'white' }} !important;
31
- }
32
-
33
- body#main__theme-dark header {
34
- background: {{ page.title_bg_dark | default: page.title_bg | default: layout.title_bg_dark | default: site.title_bg[page.layout][1] | default: site.title_bg[page.layout][0] | default: 'black' }};
35
- }
36
- </style>
37
- {% endif %}
38
- {% endif %}
39
- {% endif %}
40
-
41
- {% for src in layout.src %}
42
- <script type="text/javascript" src="{{ src }}"></script>
43
- {% endfor %}
44
- <script type="text/javascript" src="{{ '/assets/script.js' | relative_url }}" defer></script>