jekyll-theme-nyx 0.3.1 → 0.3.3

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: 4255ca5efed8bc6aa4c303c219117c7cd062ef2c8dc409068bdb67cb02eb7a31
4
- data.tar.gz: 8db90df707ef2c6bfc92fb42eb477f869be8528534a43a602af04d6779933b9e
3
+ metadata.gz: '0867bb1d569a3922b3b82ef7853a4e22009945ccd2e349d9f066b9277c316872'
4
+ data.tar.gz: 7f44dcdb21d5b135b038c542caebdcf48899131590ddfeaaf2bd0d7217486869
5
5
  SHA512:
6
- metadata.gz: 042614cbceeeb38aeb930e4e58761fb93589b51ebfa8f573697d3fe268e255680e8c5d84ac8392ec4b2468acff3d5df2b71112cc66b1e3380c52fbede7362e33
7
- data.tar.gz: fb55859fee5bbe19c7fbd7f085b2e8c9e7f9782bc3eb4645206fcba179837f74af3d0e0ad743877f0e5fb89df40c78497fcd184839e23ef56cbfc55edfb203f1
6
+ metadata.gz: 1a5253afa73969d4b2ec5391d952074505afcc161c04e7a6baf35c22ba92601496dc04a12d20ce2638abde5473f2c79a9dac0cd965cacf17d3cff871dbff218a
7
+ data.tar.gz: 54b82388da9dafe2f57f86dfa2a0608dc056f4a1d5ecc09c041db766700a38ef9686a41aac6c21f327ab7111692d007ab0afc04fef125410077a98cea2b769ed
checksums.yaml.gz.sig CHANGED
Binary file
@@ -57,4 +57,27 @@
57
57
  - Create plugin to generate subpages for tags and categories
58
58
  - added styling for tag and category tabs
59
59
  - Added Contribution guide
60
- - Added Security policy
60
+ - Added Security policy
61
+
62
+ #### [0.3.2] - 2026-01-09
63
+
64
+ **BUGS**
65
+ - Fixed [Issue with selecting post in the posts tab](https://github.com/Slavetomints/jekyll-theme-nyx/issues/13)
66
+
67
+ **ENHANCEMENTS**
68
+ - Implemented [Add more demo posts](https://github.com/Slavetomints/jekyll-theme-nyx/issues/14)
69
+
70
+ **MISC**
71
+ - Cleaned up repo root by moving files to `.github`
72
+
73
+ #### [0.3.3] - 2026-01-16
74
+
75
+ **BUGS**
76
+ - Fixed a [fix mobile header padding bug](https://github.com/Slavetomints/jekyll-theme-nyx/pull/24)
77
+
78
+ **ENHANCEMENTS**
79
+ - Added a [Table of Contents](https://github.com/Slavetomints/jekyll-theme-nyx/pull/26)
80
+ - Added a [favicon](https://github.com/Slavetomints/jekyll-theme-nyx/pull/25)
81
+
82
+ ***MISC**
83
+ There is now a linked [GitHub Project](https://github.com/users/Slavetomints/projects/1) for this gem.
data/Gemfile CHANGED
@@ -4,3 +4,5 @@ source 'https://rubygems.org'
4
4
 
5
5
  # Specify your gem's dependencies in jekyll-theme-nyx.gemspec
6
6
  gemspec
7
+
8
+ gem "jekyll-toc", "~> 0.19.0"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jekyll-theme-nyx (0.3.1)
4
+ jekyll-theme-nyx (0.3.3)
5
5
  jekyll (~> 4.0)
6
6
 
7
7
  GEM
@@ -18,12 +18,8 @@ GEM
18
18
  eventmachine (>= 0.12.9)
19
19
  http_parser.rb (~> 0)
20
20
  eventmachine (1.2.7)
21
- ffi (1.17.3)
22
21
  ffi (1.17.3-x86_64-linux-gnu)
23
22
  forwardable-extended (2.6.0)
24
- google-protobuf (4.33.2)
25
- bigdecimal
26
- rake (>= 13)
27
23
  google-protobuf (4.33.2-x86_64-linux-gnu)
28
24
  bigdecimal
29
25
  rake (>= 13)
@@ -51,6 +47,9 @@ GEM
51
47
  webrick (~> 1.7)
52
48
  jekyll-sass-converter (3.1.0)
53
49
  sass-embedded (~> 1.75)
50
+ jekyll-toc (0.19.0)
51
+ jekyll (>= 3.9)
52
+ nokogiri (~> 1.12)
54
53
  jekyll-watch (2.2.1)
55
54
  listen (~> 3.0)
56
55
  json (2.18.0)
@@ -63,9 +62,12 @@ GEM
63
62
  rb-fsevent (~> 0.10, >= 0.10.3)
64
63
  rb-inotify (~> 0.9, >= 0.9.10)
65
64
  mercenary (0.4.0)
65
+ nokogiri (1.19.0-x86_64-linux-gnu)
66
+ racc (~> 1.4)
66
67
  pathutil (0.16.2)
67
68
  forwardable-extended (~> 2.6)
68
69
  public_suffix (7.0.0)
70
+ racc (1.8.1)
69
71
  rake (13.3.0)
70
72
  rb-fsevent (0.11.2)
71
73
  rb-inotify (0.11.1)
@@ -73,9 +75,6 @@ GEM
73
75
  rexml (3.4.4)
74
76
  rouge (4.7.0)
75
77
  safe_yaml (1.0.5)
76
- sass-embedded (1.97.1)
77
- google-protobuf (~> 4.31)
78
- rake (>= 13)
79
78
  sass-embedded (1.97.1-x86_64-linux-gnu)
80
79
  google-protobuf (~> 4.31)
81
80
  terminal-table (3.0.2)
@@ -84,11 +83,11 @@ GEM
84
83
  webrick (1.9.2)
85
84
 
86
85
  PLATFORMS
87
- ruby
88
86
  x86_64-linux
89
87
 
90
88
  DEPENDENCIES
91
89
  jekyll-theme-nyx!
90
+ jekyll-toc (~> 0.19.0)
92
91
 
93
92
  BUNDLED WITH
94
93
  2.6.7
data/_config.yml CHANGED
@@ -24,3 +24,15 @@ collections:
24
24
  output: true
25
25
  permalink: /:name/
26
26
  sort_by: order
27
+
28
+ plugins:
29
+ - jekyll-toc
30
+
31
+ defaults:
32
+ - scope:
33
+ path: ""
34
+ type: posts
35
+ values:
36
+ layout: post
37
+ permalink: /posts/:title/
38
+ toc: true
@@ -0,0 +1,7 @@
1
+ <head>
2
+ <meta charset="UTF-8">
3
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
4
+ <link rel="stylesheet" href="{{ "/assets/css/nyx.css" | relative_url }}">
5
+ <link rel="icon" type="image/x-icon" href="/assets/img/favicons/favicon.png">
6
+ <title>{{ site.title }}</title>
7
+ </head>
@@ -1,12 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
3
 
4
- <head>
5
- <meta charset="UTF-8">
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
- <link rel="stylesheet" href="{{ "/assets/css/nyx.css" | relative_url }}">
8
- <title>{{ site.title }}</title>
9
- </head>
4
+ {% include head.html %}
10
5
 
11
6
  <body>
12
7
  {% include header.html %}
data/_layouts/post.md CHANGED
@@ -5,5 +5,13 @@ layout: default
5
5
  <h1>{{ page.title }}</h1>
6
6
  <p>{{ page.date | date: "%B %d, %Y" }} – Written by {{ page.author }}</p>
7
7
  </header>
8
- {{ content }}
9
8
 
9
+ <div id="post-container">
10
+ <article>
11
+ {{ content }}
12
+ </article>
13
+ <aside>
14
+ <h2>Table of Contents</h2>
15
+ {{ content | toc_only }}
16
+ </aside>
17
+ </div>
@@ -1,11 +1,10 @@
1
1
  ---
2
- title: Markdown Showcase
3
- layout: post
2
+ title: Post Showcase
4
3
  author: Slavetomints
5
4
  date: 2026-01-02
6
- categories: [Blog]
7
- tags: [blog, help]
8
- description: Showcase of the how markdown looks on this site
5
+ categories: [Demos]
6
+ tags: [demo, markdown]
7
+ description: Showcase of the how posts look on this site
9
8
  ---
10
9
 
11
10
  ## Headers
@@ -0,0 +1,479 @@
1
+ ---
2
+ title: Syntax Highlighting
3
+ author: Slavetomints
4
+ date: 2026-01-07
5
+ categories: [Demos]
6
+ tags: [demo, syntax highlighting]
7
+ description: Showcase of how different coding languages look
8
+ ---
9
+
10
+ *All code examples were sourced from Wikipedia where available, some were sourced from alternative sites*
11
+
12
+ ## Python
13
+
14
+ ```py
15
+ text = input('Type a number, and its factorial will be printed: ')
16
+ n = int(text)
17
+
18
+ if n < 0:
19
+ raise ValueError('You must enter a non-negative integer')
20
+
21
+ factorial = 1
22
+ for i in range(2, n + 1):
23
+ factorial *= i
24
+
25
+ print(factorial)
26
+ ```
27
+
28
+ ## JavaScript
29
+
30
+ ```js
31
+ function Person(name) {
32
+ this.name = name;
33
+ }
34
+
35
+ function Student(name, id) {
36
+ Person.call(this, name);
37
+ this.id = id;
38
+ }
39
+
40
+ var bob = new Student("Robert", 12345);
41
+ console.log(bob.name); // Robert
42
+ ```
43
+
44
+ ## TypeScript
45
+
46
+ ```ts
47
+ function greet(name: string, age?: number): string {
48
+ if (age) {
49
+ return `Hello, ${name}! You are ${age} years old.`;
50
+ } else {
51
+ return `Hello, ${name}!`;
52
+ }
53
+ }
54
+ console.log("Optional Parameters:");
55
+ console.log(greet("Alice"));
56
+ console.log(greet("Bob", 30));
57
+ ```
58
+
59
+ ## Java
60
+
61
+ ```java
62
+ public class HelloWorld {
63
+ public static void main(String[] args) {
64
+ System.out.println("Hello World!");
65
+ }
66
+ }
67
+ ```
68
+
69
+ ## C
70
+
71
+ ```c
72
+ #include <stdio.h>
73
+
74
+ int main(void)
75
+ {
76
+ printf("hello, world\n");
77
+ }
78
+ ```
79
+
80
+ ## C++
81
+
82
+ ```c++
83
+ #include <iostream>
84
+
85
+ int main() {
86
+ std::cout << "Hello, world!\n";
87
+ }
88
+ ```
89
+
90
+ ## C#
91
+
92
+ ```c#
93
+ using System;
94
+ using System.Collections.Generic;
95
+ using System.Linq;
96
+ using System.Text;
97
+
98
+ namespace check1
99
+ {
100
+ class Program
101
+ {
102
+ static void Main(string[] args)
103
+ {
104
+ int i;
105
+ Console.Write("Enter a Number : ");
106
+ i = int.Parse(Console.ReadLine());
107
+ if (i % 2 == 0)
108
+ {
109
+ Console.Write("Entered Number is an Even Number");
110
+ Console.Read();
111
+ }
112
+ else
113
+ {
114
+ Console.Write("Entered Number is an Odd Number");
115
+ Console.Read();
116
+ }
117
+ }
118
+ }
119
+ }
120
+ ```
121
+
122
+ ## Go
123
+
124
+ ```go
125
+ package main
126
+
127
+ import "fmt"
128
+
129
+ func main() {
130
+ fmt.Println("hello world")
131
+ }
132
+ ```
133
+
134
+ ## Rust
135
+
136
+ ```rust
137
+ fn main() {
138
+ let x = 10;
139
+ if x > 5 {
140
+ println!("value is greater than five");
141
+ }
142
+
143
+ if x % 7 == 0 {
144
+ println!("value is divisible by 7");
145
+ } else if x % 5 == 0 {
146
+ println!("value is divisible by 5");
147
+ } else {
148
+ println!("value is not divisible by 7 or 5");
149
+ }
150
+ }
151
+ ```
152
+
153
+ ## PHP
154
+
155
+ ```php
156
+ function myAge(int $birthYear): string
157
+ {
158
+ // calculate the age by subtracting the birth year from the current year.
159
+ $yearsOld = date('Y') - $birthYear;
160
+
161
+ // return the age in a descriptive string.
162
+ return $yearsOld . ($yearsOld == 1 ? ' year' : ' years');
163
+ }
164
+
165
+ echo 'I am currently ' . myAge(1995) . ' old.';
166
+ ```
167
+
168
+ ## Ruby
169
+
170
+ ```ruby
171
+ class Person
172
+ attr_reader :name, :age
173
+ def initialize(name, age)
174
+ @name, @age = name, age
175
+ end
176
+ def <=>(person) # the comparison operator for sorting
177
+ @age <=> person.age
178
+ end
179
+ def to_s
180
+ "#{@name} (#{@age})"
181
+ end
182
+ end
183
+
184
+ group = [
185
+ Person.new("Bob", 33),
186
+ Person.new("Chris", 16),
187
+ Person.new("Ash", 23)
188
+ ]
189
+
190
+ puts group.sort.reverse
191
+ ```
192
+
193
+ ## Swift
194
+
195
+ ```swift
196
+ func divideByTwo(_ aNum: Int) -> Int {
197
+ return aNum / 2
198
+ }
199
+
200
+ func multiplyByTwo(_ aNum: Int) -> Int {
201
+ return aNum * 2
202
+ }
203
+
204
+ let mathOperation = multiplyByTwo
205
+
206
+ print(mathOperation(21)) // Prints "42"
207
+ ```
208
+
209
+ ## Kotlin
210
+
211
+ ```kotlin
212
+ class User(val id: Int, val name: String, val address: String)
213
+
214
+ fun saveUserToDb(user: User) {
215
+ fun validate(user: User, value: String, fieldName: String) {
216
+ require(value.isNotEmpty()) { "Can't save user ${user.id}: empty $fieldName" }
217
+ }
218
+
219
+ validate(user, user.name, "Name")
220
+ validate(user, user.address, "Address")
221
+ // Save user to the database
222
+ ...
223
+ }
224
+ ```
225
+
226
+ ## R
227
+
228
+ ```r
229
+ # Create x and y values
230
+ x <- 1:6
231
+ y <- x^2
232
+
233
+ # Linear regression model: y = A + B * x
234
+ model <- lm(y ~ x)
235
+
236
+ # Display an in-depth summary of the model
237
+ summary(model)
238
+
239
+ # Create a 2-by-2 layout for figures
240
+ par(mfrow = c(2, 2))
241
+
242
+ # Output diagnostic plots of the model
243
+ plot(model)
244
+ ```
245
+
246
+ ## MATLAB
247
+
248
+ ```matlab
249
+ b = [3 8 9 4 7 5];
250
+ sum1 = 0;
251
+ for k = 1:4
252
+ sum1 = sum1 + b(k);
253
+ end
254
+
255
+ sum1
256
+ ```
257
+
258
+ ## Dart
259
+
260
+ ```dart
261
+ void main() {
262
+ int i = 20;
263
+ print('fibonacci($i) = ${fibonacci(i)}');
264
+ }
265
+
266
+ /// Computes the nth Fibonacci number.
267
+ int fibonacci(int n) {
268
+ return n < 2 ? n : (fibonacci(n - 1) + fibonacci(n - 2));
269
+ }
270
+ ```
271
+
272
+ ## Scala
273
+
274
+ ```scala
275
+ import math.*
276
+ def mathFunction(num: Int) =
277
+ val numSquare = num*num
278
+ (cbrt(numSquare) + log(numSquare)).toInt
279
+ ```
280
+
281
+ ## Shell / Bash
282
+
283
+ ```sh
284
+ #!/bin/bash
285
+
286
+ nmcli connection modify "Wired connection 1" ipv4.dns "1.1.1.1"
287
+ nmcli connection down "Wired connection 1"
288
+ nmcli connection up "Wired connection 1"
289
+ ping archlinux.org -c 1
290
+ ```
291
+
292
+ ## PowerShell
293
+
294
+ ```powershell
295
+ Get-CimInstance -ClassName Win32_LogicalDisk -Filter "DriveType=3" |
296
+ Measure-Object -Property FreeSpace,Size -Sum |
297
+ Select-Object -Property Property,Sum
298
+ ```
299
+
300
+ ## Objective-C
301
+
302
+ ```objective-c
303
+ @interface ClassName : SuperclassName {
304
+ // instance variables
305
+ }
306
+ + classMethod1;
307
+ + (return_type)classMethod2;
308
+ + (return_type)classMethod3:(param1_type)param1_varName;
309
+
310
+ - (return_type)instanceMethod1With1Parameter:(param1_type)param1_varName;
311
+ - (return_type)instanceMethod2With2Parameters:(param1_type)param1_varName
312
+ param2_callName:(param2_type)param2_varName;
313
+ @end
314
+ ```
315
+
316
+ ## Assembly
317
+
318
+ *The rouge syntax highlighter officially supports ARM Assembly and some other variants. For a full list, check [here](https://github.com/rouge-ruby/rouge/tree/master/lib/rouge/lexers)*
319
+
320
+ ```txt
321
+ section .text ; start of the code segment
322
+ global _start ; declare _start to be visible in the generated object file
323
+
324
+ _start:
325
+ mov edx,len ; length of string, third argument to write()
326
+ mov ecx,msg ; address of string, second argument to write()
327
+ mov ebx,1 ; file descriptor (standard output), first argument to write()
328
+ mov eax,4 ; system call number for write()
329
+ int 0x80 ; system call trap
330
+
331
+ mov ebx,0 ; exit code, first argument to exit()
332
+ mov eax,1 ; system call number for exit()
333
+ int 0x80 ; system call trap
334
+
335
+ section .data ; start of data segment
336
+ msg db 'Hello, world!', 0xa ; string to be printed
337
+ len equ $ - msg ; length of that string as a constant calculated at assembly time
338
+ ```
339
+
340
+ ## Apache Groovy
341
+
342
+ ```groovy
343
+ class AGroovyBean {
344
+ String color
345
+ }
346
+
347
+ def myGroovyBean = new AGroovyBean()
348
+
349
+ myGroovyBean.setColor('baby blue')
350
+ assert myGroovyBean.getColor() == 'baby blue'
351
+
352
+ myGroovyBean.color = 'pewter'
353
+ assert myGroovyBean.color == 'pewter'
354
+ ```
355
+
356
+ ## Perl
357
+
358
+ ```perl
359
+ #!/usr/bin/env perl
360
+ use strict;
361
+ use warnings;
362
+
363
+ my ( $remaining, $total );
364
+
365
+ $remaining=$total=shift(@ARGV);
366
+
367
+ STDOUT->autoflush(1);
368
+
369
+ while ( $remaining ) {
370
+ printf ( "Remaining %s/%s \r", $remaining--, $total );
371
+ sleep 1;
372
+ }
373
+
374
+ print "\n";
375
+ ```
376
+
377
+ ## Haskell
378
+
379
+ ```haskell
380
+ factorial :: (Integral a) => a -> a
381
+
382
+ -- Using recursion (with the "ifthenelse" expression)
383
+ factorial n = if n < 2
384
+ then 1
385
+ else n * factorial (n - 1)
386
+
387
+ -- Using recursion (with pattern matching)
388
+ factorial 0 = 1
389
+ factorial n = n * factorial (n - 1)
390
+
391
+ -- Using recursion (with guards)
392
+ factorial n
393
+ | n < 2 = 1
394
+ | otherwise = n * factorial (n - 1)
395
+
396
+ -- Using a list and the "product" function
397
+ factorial n = product [1..n]
398
+
399
+ -- Using fold (implements "product")
400
+ factorial n = foldl (*) 1 [1..n]
401
+
402
+ -- Point-free style
403
+ factorial = foldr (*) 1 . enumFromTo 1
404
+ ```
405
+
406
+ ## Lua
407
+
408
+ ```lua
409
+ do
410
+ local oldprint = print
411
+ -- Store current print function as oldprint
412
+ function print(s)
413
+ --[[ Redefine print function. The usual print function can still be used
414
+ through oldprint. The new one has only one argument.]]
415
+ oldprint(s == "foo" and "bar" or s)
416
+ end
417
+ end
418
+
419
+ ```
420
+
421
+ ## Elixir
422
+
423
+ ```elixir
424
+ schema "weather" do
425
+ field :city # Defaults to type :string
426
+ field :temp_lo, :integer
427
+ field :temp_hi, :integer
428
+ field :prcp, :float, default: 0.0
429
+ end
430
+
431
+ Weather |> where(city: "Kraków") |> order_by(:temp_lo) |> limit(10) |> Repo.all
432
+ ```
433
+
434
+ ## Julia
435
+
436
+ ```julia
437
+ function greet(name::AbstractString)
438
+ println("Hello, $name!")
439
+ end
440
+
441
+ greet("Alice")
442
+ ```
443
+
444
+ ## Visual Basic .NET
445
+
446
+ ```vb
447
+ Sub Greet(name As String)
448
+ Console.WriteLine($"Hello, {name}")
449
+ End Sub
450
+
451
+ Greet("Bob")
452
+ ```
453
+
454
+ ## Cisco IOS
455
+
456
+ ```cisco_ios
457
+ int G0/1
458
+ ip addr 192.168.1.1 255.255.255.0
459
+ no shutdown
460
+ exit
461
+ ```
462
+
463
+ ## COBOL
464
+
465
+ ```cobol
466
+ ADD 1 TO x
467
+ ADD 1, a, b TO x ROUNDED, y, z ROUNDED
468
+
469
+ ADD a, b TO c
470
+ ON SIZE ERROR
471
+ DISPLAY "Error"
472
+ END-ADD
473
+
474
+ ADD a TO b
475
+ NOT SIZE ERROR
476
+ DISPLAY "No error"
477
+ ON SIZE ERROR
478
+ DISPLAY "Error"
479
+ ```
@@ -0,0 +1,188 @@
1
+ ---
2
+ title: How to Use Markdown
3
+ author: Slavetomints
4
+ date: 2026-01-08
5
+ categories: [Guides]
6
+ tags: [guide, markdown]
7
+ description: How to get started with Markdown
8
+ ---
9
+
10
+ ## Headings
11
+
12
+ There are 6 levels of headers, in order to make one, you add a `#` in front of the word, like this:
13
+
14
+ ```md
15
+ ## example
16
+ ```
17
+
18
+ And it looks like this:
19
+
20
+ ## example
21
+
22
+ The more `#`'s you add, the higher the level is. Only one `#` is equivalent to a `<h1>` in HTML. 4 `#`'s is equivalent to a `<h4>`.
23
+
24
+ ```md
25
+ # Header 1
26
+ ## Header 2
27
+ ### Header 3
28
+ #### Header 4
29
+ ##### Header 5
30
+ ###### Header 6
31
+ ```
32
+
33
+ # Header 1
34
+ ## Header 2
35
+ ### Header 3
36
+ #### Header 4
37
+ ##### Header 5
38
+ ###### Header 6
39
+
40
+ ## Paragraphs
41
+
42
+
43
+ To have regular text, just start typing! you don't need anything special.
44
+
45
+ ```md
46
+ To have regular text, just start typing! you don't need anything special.
47
+ ```
48
+
49
+ ## Italics / Bold / Underline / Etc
50
+
51
+ ### Italics
52
+
53
+ *Put the text you want to be italicized between two asterisks*
54
+
55
+ ```md
56
+ *Put the text you want to be italicized between two asterisks*
57
+ ```
58
+
59
+ ### Bold
60
+
61
+ **Put the text you want to be bolded between asterisks, with two on each side**
62
+
63
+ ```md
64
+ **Put the text you want to be bolded between asterisks, with two on each side**
65
+ ```
66
+
67
+ ### Strikethrough
68
+
69
+ ~~Put the text you want to be struck through between tildes, with two on each side~~
70
+
71
+ ```md
72
+ ~~Put the text you want to be struck through between tildes, with two on each side~~
73
+ ```
74
+
75
+ ## Blockquotes
76
+
77
+ > To type a block quote, just put a `>` in front of what you are typing similar to how you type a header.
78
+ > > You can have multiple layers of block quotes by stacking `>`'s
79
+
80
+ ```
81
+ > To type a block quote, just put a `>` in front of what you are typing similar to how you type a header.
82
+ > > You can have multiple layers of block quotes by stacking `>`'s
83
+ ```
84
+
85
+ ## Lists
86
+
87
+ ### Ordered Lists
88
+
89
+ For an ordered list, just put numbers in front of the list items as such:
90
+
91
+ 1. One
92
+ 2. Two
93
+ 3. Three
94
+ 4. Four
95
+
96
+ ```md
97
+ 1. One
98
+ 2. Two
99
+ 3. Three
100
+ 4. Four
101
+ ```
102
+
103
+ ### Unordered Lists
104
+
105
+ An unordered list is the same idea as the ordered list, just replace the numbers with dashes (`-`).
106
+
107
+ - One
108
+ - Two
109
+ - Three
110
+ - Four
111
+
112
+ ```md
113
+ - One
114
+ - Two
115
+ - Three
116
+ - Four
117
+ ```
118
+
119
+ ## Multi-Layer Lists
120
+
121
+ To add subitems to a list, simply indent the next entry
122
+
123
+ - One
124
+ - Subitem
125
+ - Two
126
+ - Three
127
+ - Four
128
+
129
+ ```md
130
+ - One
131
+ - Subitem
132
+ - Two
133
+ - Three
134
+ - Four
135
+ ```
136
+
137
+ ## Code snippets
138
+
139
+ For `inline code`, simply surround the section you want with backticks.
140
+
141
+ ```md
142
+ For `inline code`, simply surround the section you want with backticks.
143
+ ```
144
+
145
+ For a code block, put three backticks on separate lines before and after the code.
146
+
147
+ ```
148
+ Hi! This is a code block!
149
+ It looks pretty neat!
150
+ ```
151
+ <br>
152
+ ```md
153
+ `​`​`
154
+ Hi! This is a code block!
155
+ It looks pretty neat!
156
+ `​`​`
157
+ ```
158
+
159
+ ## Links
160
+
161
+ Links can be included as such:
162
+
163
+ ```md
164
+ [text that you see](hxxps://linkhere)
165
+ ```
166
+
167
+ [text that you see](https://nyx.slavetomints.com/posts/how-to-use-markdown#links)
168
+
169
+
170
+ ## Images
171
+
172
+ If you want to include an image, see the following syntax:
173
+
174
+ ```md
175
+ ![Image alt text](/path/to/image.jpg)
176
+ ```
177
+
178
+ ![Image alt text](/assets/img/white-logo.svg)
179
+
180
+ ## Horizontal Rules
181
+
182
+ If you want to break up some content, all you have to do is put three dashes side by side on their own line as such:
183
+
184
+ ```md
185
+ ---
186
+ ```
187
+
188
+ ---
@@ -0,0 +1,36 @@
1
+ ---
2
+ title: How to Use Nyx
3
+ author: Slavetomints
4
+ date: 2026-01-08
5
+ categories: [Guides]
6
+ tags: [guide]
7
+ description: How to get started with the theme
8
+ ---
9
+
10
+ ## Installation
11
+
12
+ Add this line to your Jekyll site’s `Gemfile`:
13
+
14
+ ```ruby
15
+ gem "jekyll-theme-nyx"
16
+ ```
17
+
18
+ Then install the gem:
19
+
20
+ ```sh
21
+ bundle install
22
+ ```
23
+
24
+ Next, enable the theme in your _config.yml:
25
+
26
+ ```yml
27
+ theme: jekyll-theme-nyx
28
+ ```
29
+
30
+ And that's how you start to use Nyx!
31
+
32
+ ## Editing Configs
33
+
34
+ At the moment, the `_config.yml` file is pretty sparse. The only thing in it that you might want to edit is the `title`. In `_config.yml`, put `title: Your Site's Name`.
35
+
36
+ In the future there will be more fields you can add to your website, so be sure to stay tuned for updates!
data/_sass/nyx/_base.scss CHANGED
@@ -41,6 +41,7 @@ header ul{
41
41
  flex-direction: row;
42
42
  justify-content: space-around;
43
43
  list-style-type: none;
44
+ padding: 0px;
44
45
  }
45
46
 
46
47
  img {
data/_sass/nyx/_code.scss CHANGED
@@ -45,3 +45,7 @@
45
45
  .rouge-table td {
46
46
  padding: 0;
47
47
  }
48
+
49
+ p code {
50
+ font-size: 14px;
51
+ }
@@ -5,6 +5,22 @@ footer {
5
5
  padding: $space-2 $space-3;
6
6
  }
7
7
 
8
+ aside {
9
+ width: auto;
10
+ flex-shrink: 0;
11
+
12
+ position: sticky;
13
+ top: $space-4;
14
+
15
+ max-height: calc(100vh - $space-4 * 2);
16
+ overflow-y: auto;
17
+
18
+ @media (max-width: 600px) {
19
+ display: none;
20
+ }
21
+ }
22
+
23
+
8
24
  main {
9
25
  display: flex;
10
26
  flex-direction: column;
@@ -16,6 +32,17 @@ main {
16
32
  }
17
33
  }
18
34
 
35
+ /* POST CONTAINER */
36
+ #post-container {
37
+ display: flex;
38
+ gap: $space-4;
39
+ @media (max-width: 600px) {
40
+ display: block;;
41
+ }
42
+ }
43
+
44
+
45
+
19
46
  /* STYLING FOR /POSTS/ */
20
47
 
21
48
  .post-list {
@@ -33,6 +60,7 @@ main {
33
60
  border: 1px solid rgba(255, 255, 255, 0.06);
34
61
  border-radius: 0.75rem;
35
62
  padding: 1.5rem;
63
+ position: relative;
36
64
 
37
65
  transition: transform 0.15s ease, box-shadow 0.15s ease;
38
66
  }
@@ -123,3 +151,17 @@ main {
123
151
  padding: 0.15rem 0.5rem;
124
152
  border-radius: 999px;
125
153
  }
154
+
155
+
156
+ #toc li {
157
+ list-style: none;
158
+ }
159
+
160
+ #toc a {
161
+ color: $muted
162
+ }
163
+
164
+ #toc a:hover{
165
+ text-decoration: none;
166
+ color: $fg;
167
+ }
data/_tabs/about.md CHANGED
@@ -6,4 +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.
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
+ ![nyx logo](/assets/img/white-logo.svg)
Binary file
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'jekyll-theme-nyx'
5
- spec.version = '0.3.1'
5
+ spec.version = '0.3.3'
6
6
  spec.authors = ['Slavetomints']
7
7
  spec.email = ['me@slavetomints.com']
8
8
 
9
- spec.summary = 'Simple Jekyll Theme'
9
+ spec.summary = 'Simple Dark Mode Oriented Jekyll Theme'
10
10
  spec.description = <<~DESC
11
11
  Nyx is a dark mode based Jekyll theme focused on readability,
12
12
  clean typography, and simple blogging.
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.1
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Slavetomints
@@ -60,29 +60,33 @@ executables: []
60
60
  extensions: []
61
61
  extra_rdoc_files: []
62
62
  files:
63
+ - ".github/CHANGELOG.md"
64
+ - ".github/CODE_OF_CONDUCT.md"
63
65
  - ".github/CONTRIBUTING.MD"
64
66
  - ".github/ISSUE_TEMPLATE/bug_report.yml"
65
67
  - ".github/ISSUE_TEMPLATE/config.yml"
66
68
  - ".github/ISSUE_TEMPLATE/feature_request.yml"
69
+ - ".github/SECURITY.md"
67
70
  - ".github/pull_request_template.md"
68
71
  - ".github/workflows/build-and-deploy.yml"
69
72
  - ".gitignore"
70
- - CHANGELOG.md
71
- - CODE_OF_CONDUCT.md
72
73
  - Gemfile
73
74
  - Gemfile.lock
74
75
  - LICENSE.txt
75
76
  - README.md
76
77
  - Rakefile
77
- - SECURITY.md
78
78
  - _config.yml
79
+ - _includes/head.html
79
80
  - _includes/header.html
80
81
  - _layouts/category.html
81
82
  - _layouts/default.html
82
83
  - _layouts/post.md
83
84
  - _layouts/tag.html
84
85
  - _plugins/taxonomy_pages.rb
85
- - _posts/2026-01-02-markdown-showcase.md
86
+ - _posts/2026-01-02-showcase-post.md
87
+ - _posts/2026-01-07-syntax-highlighting.md
88
+ - _posts/2026-01-08-how-to-use-markdown.md
89
+ - _posts/2026-01-08-how-to-use-nyx.md
86
90
  - _sass/nyx/_base.scss
87
91
  - _sass/nyx/_code.scss
88
92
  - _sass/nyx/_layout.scss
@@ -95,6 +99,7 @@ files:
95
99
  - _tabs/tags.md
96
100
  - assets/css/nyx.scss
97
101
  - assets/img/black-logo.svg
102
+ - assets/img/favicons/favicon.png
98
103
  - assets/img/white-logo.svg
99
104
  - certs/slavetomints.pem
100
105
  - index.md
@@ -127,5 +132,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
132
  requirements: []
128
133
  rubygems_version: 3.6.7
129
134
  specification_version: 4
130
- summary: Simple Jekyll Theme
135
+ summary: Simple Dark Mode Oriented Jekyll Theme
131
136
  test_files: []
metadata.gz.sig CHANGED
Binary file
File without changes
File without changes