jekyll-theme-nyx 0.3.0 → 0.3.2
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/{CHANGELOG.md → .github/CHANGELOG.md} +20 -1
- data/.github/CONTRIBUTING.MD +107 -0
- data/.github/ISSUE_TEMPLATE/bug_report.yml +47 -0
- data/.github/ISSUE_TEMPLATE/config.yml +1 -0
- data/.github/ISSUE_TEMPLATE/feature_request.yml +28 -0
- data/.github/SECURITY.md +16 -0
- data/.github/pull_request_template.md +31 -0
- data/Gemfile +2 -2
- data/Gemfile.lock +1 -1
- data/Rakefile +16 -16
- data/_config.yml +8 -0
- data/_layouts/category.html +19 -0
- data/_layouts/tag.html +19 -0
- data/_plugins/taxonomy_pages.rb +47 -0
- data/_posts/{2026-01-02-markdown-showcase.md → 2026-01-02-showcase-post.md} +4 -5
- data/_posts/2026-01-07-syntax-highlighting.md +479 -0
- data/_posts/2026-01-08-how-to-use-markdown.md +188 -0
- data/_posts/2026-01-08-how-to-use-nyx.md +36 -0
- data/_sass/nyx/_code.scss +4 -0
- data/_sass/nyx/_layout.scss +49 -1
- data/_tabs/about.md +4 -0
- data/_tabs/categories.md +7 -6
- data/_tabs/tags.md +7 -6
- data/jekyll-theme-nyx.gemspec +24 -26
- data.tar.gz.sig +0 -0
- metadata +18 -8
- metadata.gz.sig +0 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +0 -38
- data/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
- /data/{CODE_OF_CONDUCT.md → .github/CODE_OF_CONDUCT.md} +0 -0
- /data/.github/workflows/{main.yml → build-and-deploy.yml} +0 -0
data/_sass/nyx/_layout.scss
CHANGED
|
@@ -33,6 +33,7 @@ main {
|
|
|
33
33
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
34
34
|
border-radius: 0.75rem;
|
|
35
35
|
padding: 1.5rem;
|
|
36
|
+
position: relative;
|
|
36
37
|
|
|
37
38
|
transition: transform 0.15s ease, box-shadow 0.15s ease;
|
|
38
39
|
}
|
|
@@ -75,4 +76,51 @@ main {
|
|
|
75
76
|
margin: 0;
|
|
76
77
|
color: $fg;
|
|
77
78
|
line-height: 1.6;
|
|
78
|
-
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* taxonomy lists (tags + categories) */
|
|
82
|
+
|
|
83
|
+
.taxonomy-list {
|
|
84
|
+
list-style: none;
|
|
85
|
+
padding: 0;
|
|
86
|
+
margin: $space-4 0;
|
|
87
|
+
|
|
88
|
+
display: grid;
|
|
89
|
+
grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
|
|
90
|
+
gap: $space-3;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.taxonomy-item {
|
|
94
|
+
background: $bg-alt;
|
|
95
|
+
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
96
|
+
border-radius: $radius;
|
|
97
|
+
transition: transform 0.15s ease, box-shadow 0.15s ease;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.taxonomy-item a {
|
|
101
|
+
display: flex;
|
|
102
|
+
align-items: center;
|
|
103
|
+
justify-content: space-between;
|
|
104
|
+
|
|
105
|
+
padding: $space-3;
|
|
106
|
+
text-decoration: none;
|
|
107
|
+
color: $fg;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.taxonomy-item:hover {
|
|
111
|
+
transform: translateY(-2px);
|
|
112
|
+
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.taxonomy-name {
|
|
116
|
+
font-size: 1rem;
|
|
117
|
+
font-weight: 600;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.taxonomy-count {
|
|
121
|
+
font-size: 0.85rem;
|
|
122
|
+
color: $muted;
|
|
123
|
+
background: rgba(255, 255, 255, 0.06);
|
|
124
|
+
padding: 0.15rem 0.5rem;
|
|
125
|
+
border-radius: 999px;
|
|
126
|
+
}
|
data/_tabs/about.md
CHANGED
|
@@ -6,3 +6,7 @@ order: 4
|
|
|
6
6
|
|
|
7
7
|
<h1>About</h1>
|
|
8
8
|
|
|
9
|
+
This is your "about me" page, where you can add anything about yourself that you wish for the world to know. It uses the default layout rather than the post layout. Feel free to drop your work experience, resume, or just a little blurb about who you are and who you're trying to become.
|
|
10
|
+
<br><br>
|
|
11
|
+
<br><br>
|
|
12
|
+

|
data/_tabs/categories.md
CHANGED
|
@@ -6,13 +6,14 @@ order: 2
|
|
|
6
6
|
|
|
7
7
|
<h1>Categories</h1>
|
|
8
8
|
|
|
9
|
-
<
|
|
9
|
+
<ul class="taxonomy-list categories-list">
|
|
10
10
|
{% for category in site.categories %}
|
|
11
|
-
{% assign
|
|
12
|
-
<li>
|
|
13
|
-
<a href="{{ '/categories/' | append:
|
|
14
|
-
|
|
11
|
+
{% assign name = category[0] %}
|
|
12
|
+
<li class="taxonomy-item">
|
|
13
|
+
<a href="{{ '/categories/' | append: name | downcase | append: '/' | relative_url }}">
|
|
14
|
+
<span class="taxonomy-name">{{ name }}</span>
|
|
15
|
+
<span class="taxonomy-count">{{ category[1].size }}</span>
|
|
15
16
|
</a>
|
|
16
17
|
</li>
|
|
17
18
|
{% endfor %}
|
|
18
|
-
</
|
|
19
|
+
</ul>
|
data/_tabs/tags.md
CHANGED
|
@@ -6,13 +6,14 @@ order: 3
|
|
|
6
6
|
|
|
7
7
|
<h1>Tags</h1>
|
|
8
8
|
|
|
9
|
-
<
|
|
9
|
+
<ul class="taxonomy-list tags-list">
|
|
10
10
|
{% for tag in site.tags %}
|
|
11
|
-
{% assign
|
|
12
|
-
<li>
|
|
13
|
-
<a href="{{ '/tags/' | append:
|
|
14
|
-
|
|
11
|
+
{% assign name = tag[0] %}
|
|
12
|
+
<li class="taxonomy-item">
|
|
13
|
+
<a href="{{ '/tags/' | append: name | append: '/' | relative_url }}">
|
|
14
|
+
<span class="taxonomy-name">{{ name }}</span>
|
|
15
|
+
<span class="taxonomy-count">{{ tag[1].size }}</span>
|
|
15
16
|
</a>
|
|
16
17
|
</li>
|
|
17
18
|
{% endfor %}
|
|
18
|
-
</
|
|
19
|
+
</ul>
|
data/jekyll-theme-nyx.gemspec
CHANGED
|
@@ -1,44 +1,42 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |spec|
|
|
4
|
-
spec.name =
|
|
5
|
-
spec.version =
|
|
6
|
-
spec.authors = [
|
|
7
|
-
spec.email = [
|
|
4
|
+
spec.name = 'jekyll-theme-nyx'
|
|
5
|
+
spec.version = '0.3.2'
|
|
6
|
+
spec.authors = ['Slavetomints']
|
|
7
|
+
spec.email = ['me@slavetomints.com']
|
|
8
8
|
|
|
9
|
-
spec.summary =
|
|
9
|
+
spec.summary = 'Simple Dark Mode Oriented Jekyll Theme'
|
|
10
10
|
spec.description = <<~DESC
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
Nyx is a dark mode based Jekyll theme focused on readability,
|
|
12
|
+
clean typography, and simple blogging.
|
|
13
13
|
DESC
|
|
14
|
-
spec.homepage =
|
|
15
|
-
spec.license =
|
|
16
|
-
spec.required_ruby_version =
|
|
14
|
+
spec.homepage = 'https://github.com/Slavetomints/jekyll-theme-nyx'
|
|
15
|
+
spec.license = 'MIT'
|
|
16
|
+
spec.required_ruby_version = '>= 3.1.0'
|
|
17
17
|
|
|
18
|
-
spec.metadata[
|
|
19
|
-
spec.metadata[
|
|
20
|
-
spec.metadata[
|
|
21
|
-
spec.metadata[
|
|
22
|
-
spec.metadata[
|
|
23
|
-
spec.metadata[
|
|
24
|
-
spec.metadata[
|
|
25
|
-
spec.metadata[
|
|
18
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
|
19
|
+
spec.metadata['homepage_uri'] = spec.homepage
|
|
20
|
+
spec.metadata['source_code_uri'] = spec.homepage
|
|
21
|
+
spec.metadata['changelog_uri'] = "#{spec.homepage}/blob/main/CHANGELOG.md"
|
|
22
|
+
spec.metadata['bug_tracker_uri'] = "#{spec.homepage}/issues"
|
|
23
|
+
spec.metadata['documentation_uri'] = "#{spec.homepage}#readme"
|
|
24
|
+
spec.metadata['theme'] = 'true'
|
|
25
|
+
spec.metadata['jekyll_theme'] = 'true'
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
spec.add_runtime_dependency "jekyll", "~> 4.0"
|
|
27
|
+
spec.add_dependency 'jekyll', '~> 4.0'
|
|
29
28
|
|
|
30
29
|
spec.cert_chain = ['certs/slavetomints.pem']
|
|
31
|
-
spec.signing_key = File.expand_path(
|
|
30
|
+
spec.signing_key = File.expand_path('~/.ssh/gem-private_key.pem') if $0 =~ /gem\z/
|
|
32
31
|
|
|
33
32
|
# Specify which files should be added to the gem when it is released.
|
|
34
33
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
35
34
|
spec.files = IO.popen(%w[git ls-files -z], chdir: __dir__, err: IO::NULL) do |ls|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
35
|
+
ls.readlines("\x0", chomp: true).select do |f|
|
|
36
|
+
# Only include files that actually exist
|
|
37
|
+
File.file?(File.join(__dir__, f))
|
|
39
38
|
end
|
|
40
39
|
end
|
|
41
40
|
|
|
42
|
-
spec.require_paths = [
|
|
43
|
-
|
|
41
|
+
spec.require_paths = ['lib']
|
|
44
42
|
end
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-theme-nyx
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Slavetomints
|
|
@@ -60,12 +60,16 @@ executables: []
|
|
|
60
60
|
extensions: []
|
|
61
61
|
extra_rdoc_files: []
|
|
62
62
|
files:
|
|
63
|
-
- ".github/
|
|
64
|
-
- ".github/
|
|
65
|
-
- ".github/
|
|
63
|
+
- ".github/CHANGELOG.md"
|
|
64
|
+
- ".github/CODE_OF_CONDUCT.md"
|
|
65
|
+
- ".github/CONTRIBUTING.MD"
|
|
66
|
+
- ".github/ISSUE_TEMPLATE/bug_report.yml"
|
|
67
|
+
- ".github/ISSUE_TEMPLATE/config.yml"
|
|
68
|
+
- ".github/ISSUE_TEMPLATE/feature_request.yml"
|
|
69
|
+
- ".github/SECURITY.md"
|
|
70
|
+
- ".github/pull_request_template.md"
|
|
71
|
+
- ".github/workflows/build-and-deploy.yml"
|
|
66
72
|
- ".gitignore"
|
|
67
|
-
- CHANGELOG.md
|
|
68
|
-
- CODE_OF_CONDUCT.md
|
|
69
73
|
- Gemfile
|
|
70
74
|
- Gemfile.lock
|
|
71
75
|
- LICENSE.txt
|
|
@@ -73,9 +77,15 @@ files:
|
|
|
73
77
|
- Rakefile
|
|
74
78
|
- _config.yml
|
|
75
79
|
- _includes/header.html
|
|
80
|
+
- _layouts/category.html
|
|
76
81
|
- _layouts/default.html
|
|
77
82
|
- _layouts/post.md
|
|
78
|
-
-
|
|
83
|
+
- _layouts/tag.html
|
|
84
|
+
- _plugins/taxonomy_pages.rb
|
|
85
|
+
- _posts/2026-01-02-showcase-post.md
|
|
86
|
+
- _posts/2026-01-07-syntax-highlighting.md
|
|
87
|
+
- _posts/2026-01-08-how-to-use-markdown.md
|
|
88
|
+
- _posts/2026-01-08-how-to-use-nyx.md
|
|
79
89
|
- _sass/nyx/_base.scss
|
|
80
90
|
- _sass/nyx/_code.scss
|
|
81
91
|
- _sass/nyx/_layout.scss
|
|
@@ -120,5 +130,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
120
130
|
requirements: []
|
|
121
131
|
rubygems_version: 3.6.7
|
|
122
132
|
specification_version: 4
|
|
123
|
-
summary: Simple Jekyll Theme
|
|
133
|
+
summary: Simple Dark Mode Oriented Jekyll Theme
|
|
124
134
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: Bug report
|
|
3
|
-
about: Create a report to help us improve
|
|
4
|
-
title: ''
|
|
5
|
-
labels: ''
|
|
6
|
-
assignees: ''
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
**Describe the bug**
|
|
11
|
-
A clear and concise description of what the bug is.
|
|
12
|
-
|
|
13
|
-
**To Reproduce**
|
|
14
|
-
Steps to reproduce the behavior:
|
|
15
|
-
1. Go to '...'
|
|
16
|
-
2. Click on '....'
|
|
17
|
-
3. Scroll down to '....'
|
|
18
|
-
4. See error
|
|
19
|
-
|
|
20
|
-
**Expected behavior**
|
|
21
|
-
A clear and concise description of what you expected to happen.
|
|
22
|
-
|
|
23
|
-
**Screenshots**
|
|
24
|
-
If applicable, add screenshots to help explain your problem.
|
|
25
|
-
|
|
26
|
-
**Desktop (please complete the following information):**
|
|
27
|
-
- OS: [e.g. iOS]
|
|
28
|
-
- Browser [e.g. chrome, safari]
|
|
29
|
-
- Version [e.g. 22]
|
|
30
|
-
|
|
31
|
-
**Smartphone (please complete the following information):**
|
|
32
|
-
- Device: [e.g. iPhone6]
|
|
33
|
-
- OS: [e.g. iOS8.1]
|
|
34
|
-
- Browser [e.g. stock browser, safari]
|
|
35
|
-
- Version [e.g. 22]
|
|
36
|
-
|
|
37
|
-
**Additional context**
|
|
38
|
-
Add any other context about the problem here.
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: Feature request
|
|
3
|
-
about: Suggest an idea for this project
|
|
4
|
-
title: ''
|
|
5
|
-
labels: ''
|
|
6
|
-
assignees: ''
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
**Is your feature request related to a problem? Please describe.**
|
|
11
|
-
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
|
12
|
-
|
|
13
|
-
**Describe the solution you'd like**
|
|
14
|
-
A clear and concise description of what you want to happen.
|
|
15
|
-
|
|
16
|
-
**Describe alternatives you've considered**
|
|
17
|
-
A clear and concise description of any alternative solutions or features you've considered.
|
|
18
|
-
|
|
19
|
-
**Additional context**
|
|
20
|
-
Add any other context or screenshots about the feature request here.
|
|
File without changes
|
|
File without changes
|