nibula 1.0.0 â 1.0.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.
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ Building a website from scratch involves a lot of moving parts: templating, buil
|
|
|
20
20
|
- ðŠķ **Lightweight by default** â SCSS frameworks can be filtered so you ship only what you actually use
|
|
21
21
|
- ð **Open source** â free to use, free to modify, free to share
|
|
22
22
|
|
|
23
|
-

|
|
24
24
|

|
|
25
25
|

|
|
26
26
|
|
|
@@ -34,7 +34,7 @@ function addPageBlock(pageName) {
|
|
|
34
34
|
|
|
35
35
|
const block =
|
|
36
36
|
`{% elif title == "${camelName}" %}\n` +
|
|
37
|
-
`{
|
|
37
|
+
`{% include "component.njk" ignore missing %}\n\n`;
|
|
38
38
|
|
|
39
39
|
writePageComponents(content.replace('{% else %}', `${block}{% else %}`));
|
|
40
40
|
console.log(`[updated] page block added for "${camelName}"`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nibula",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "A beginner-friendly static site generator built on Eleventy that stays close to vanilla HTML, CSS and JS â with a page-management CLI, an optional PHP backend, and SEO files generated for you.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"static-site-generator",
|
|
@@ -1,37 +1,54 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
"
|
|
4
|
-
<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
<
|
|
9
|
-
|
|
10
|
-
<
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" role="img" aria-label="Nibula">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="nibulaShieldBorder" x1="0" y1="0" x2="1" y2="1">
|
|
4
|
+
<stop offset="0" stop-color="#8b6fc4"/>
|
|
5
|
+
<stop offset="0.5" stop-color="#c9a06a"/>
|
|
6
|
+
<stop offset="1" stop-color="#f2c17a"/>
|
|
7
|
+
</linearGradient>
|
|
8
|
+
<linearGradient id="nibulaN" x1="0" y1="1" x2="1" y2="0">
|
|
9
|
+
<stop offset="0" stop-color="#6d4fa8"/>
|
|
10
|
+
<stop offset="0.45" stop-color="#a978b0"/>
|
|
11
|
+
<stop offset="0.75" stop-color="#e7a55f"/>
|
|
12
|
+
<stop offset="1" stop-color="#f7d08a"/>
|
|
13
|
+
</linearGradient>
|
|
14
|
+
<linearGradient id="nibulaNib" x1="0" y1="0" x2="1" y2="1">
|
|
15
|
+
<stop offset="0" stop-color="#f7d89a"/>
|
|
16
|
+
<stop offset="0.55" stop-color="#e0a95f"/>
|
|
17
|
+
<stop offset="1" stop-color="#b07d3e"/>
|
|
18
|
+
</linearGradient>
|
|
19
|
+
<linearGradient id="nibulaField" x1="0" y1="0" x2="0.6" y2="1">
|
|
20
|
+
<stop offset="0" stop-color="#3a2c63"/>
|
|
21
|
+
<stop offset="1" stop-color="#2a2150"/>
|
|
22
|
+
</linearGradient>
|
|
23
|
+
</defs>
|
|
24
|
+
|
|
25
|
+
<path fill="none" stroke="url(#nibulaShieldBorder)" stroke-width="10" stroke-linejoin="round"
|
|
26
|
+
d="M256 40 L440 132 L440 320 L256 472 L72 320 L72 132 Z"/>
|
|
27
|
+
<path fill="url(#nibulaField)" stroke="url(#nibulaShieldBorder)" stroke-width="6" stroke-linejoin="round"
|
|
28
|
+
d="M256 66 L418 147 L418 310 L256 442 L94 310 L94 147 Z"/>
|
|
29
|
+
|
|
30
|
+
<!-- N as one closed outline: up left post, down inner-left, diagonal to inner-bottom-right,
|
|
31
|
+
up right post, cut corner, down outer-right, close along the bottom -->
|
|
32
|
+
<path fill="url(#nibulaN)" stroke="#1a1533" stroke-width="7" stroke-linejoin="round"
|
|
33
|
+
d="M148 362
|
|
34
|
+
L148 150
|
|
35
|
+
L206 150
|
|
36
|
+
L312 300
|
|
37
|
+
L312 150
|
|
38
|
+
L370 150
|
|
39
|
+
L370 205
|
|
40
|
+
L340 205
|
|
41
|
+
L340 362
|
|
42
|
+
L282 362
|
|
43
|
+
L206 255
|
|
44
|
+
L206 362
|
|
45
|
+
Z"/>
|
|
46
|
+
|
|
47
|
+
<g stroke="#1a1533" stroke-width="7" stroke-linejoin="round" stroke-linecap="round">
|
|
48
|
+
<path fill="url(#nibulaNib)" d="M326 300 L382 300 L392 326 L336 326 Z"/>
|
|
49
|
+
<path fill="none" stroke-width="5" d="M338 313 L386 313"/>
|
|
50
|
+
<path fill="url(#nibulaNib)" d="M336 326 L392 326 L428 414 L370 380 Z"/>
|
|
51
|
+
<path fill="none" stroke-width="5" d="M366 342 L402 384"/>
|
|
52
|
+
<circle cx="376" cy="360" r="6.5" fill="#1a1533" stroke="none"/>
|
|
53
|
+
</g>
|
|
54
|
+
</svg>
|
|
@@ -1,37 +1,54 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
"
|
|
4
|
-
<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
<
|
|
9
|
-
|
|
10
|
-
<
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" role="img" aria-label="Nibula">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="nibulaShieldBorder" x1="0" y1="0" x2="1" y2="1">
|
|
4
|
+
<stop offset="0" stop-color="#8b6fc4"/>
|
|
5
|
+
<stop offset="0.5" stop-color="#c9a06a"/>
|
|
6
|
+
<stop offset="1" stop-color="#f2c17a"/>
|
|
7
|
+
</linearGradient>
|
|
8
|
+
<linearGradient id="nibulaN" x1="0" y1="1" x2="1" y2="0">
|
|
9
|
+
<stop offset="0" stop-color="#6d4fa8"/>
|
|
10
|
+
<stop offset="0.45" stop-color="#a978b0"/>
|
|
11
|
+
<stop offset="0.75" stop-color="#e7a55f"/>
|
|
12
|
+
<stop offset="1" stop-color="#f7d08a"/>
|
|
13
|
+
</linearGradient>
|
|
14
|
+
<linearGradient id="nibulaNib" x1="0" y1="0" x2="1" y2="1">
|
|
15
|
+
<stop offset="0" stop-color="#f7d89a"/>
|
|
16
|
+
<stop offset="0.55" stop-color="#e0a95f"/>
|
|
17
|
+
<stop offset="1" stop-color="#b07d3e"/>
|
|
18
|
+
</linearGradient>
|
|
19
|
+
<linearGradient id="nibulaField" x1="0" y1="0" x2="0.6" y2="1">
|
|
20
|
+
<stop offset="0" stop-color="#3a2c63"/>
|
|
21
|
+
<stop offset="1" stop-color="#2a2150"/>
|
|
22
|
+
</linearGradient>
|
|
23
|
+
</defs>
|
|
24
|
+
|
|
25
|
+
<path fill="none" stroke="url(#nibulaShieldBorder)" stroke-width="10" stroke-linejoin="round"
|
|
26
|
+
d="M256 40 L440 132 L440 320 L256 472 L72 320 L72 132 Z"/>
|
|
27
|
+
<path fill="url(#nibulaField)" stroke="url(#nibulaShieldBorder)" stroke-width="6" stroke-linejoin="round"
|
|
28
|
+
d="M256 66 L418 147 L418 310 L256 442 L94 310 L94 147 Z"/>
|
|
29
|
+
|
|
30
|
+
<!-- N as one closed outline: up left post, down inner-left, diagonal to inner-bottom-right,
|
|
31
|
+
up right post, cut corner, down outer-right, close along the bottom -->
|
|
32
|
+
<path fill="url(#nibulaN)" stroke="#1a1533" stroke-width="7" stroke-linejoin="round"
|
|
33
|
+
d="M148 362
|
|
34
|
+
L148 150
|
|
35
|
+
L206 150
|
|
36
|
+
L312 300
|
|
37
|
+
L312 150
|
|
38
|
+
L370 150
|
|
39
|
+
L370 205
|
|
40
|
+
L340 205
|
|
41
|
+
L340 362
|
|
42
|
+
L282 362
|
|
43
|
+
L206 255
|
|
44
|
+
L206 362
|
|
45
|
+
Z"/>
|
|
46
|
+
|
|
47
|
+
<g stroke="#1a1533" stroke-width="7" stroke-linejoin="round" stroke-linecap="round">
|
|
48
|
+
<path fill="url(#nibulaNib)" d="M326 300 L382 300 L392 326 L336 326 Z"/>
|
|
49
|
+
<path fill="none" stroke-width="5" d="M338 313 L386 313"/>
|
|
50
|
+
<path fill="url(#nibulaNib)" d="M336 326 L392 326 L428 414 L370 380 Z"/>
|
|
51
|
+
<path fill="none" stroke-width="5" d="M366 342 L402 384"/>
|
|
52
|
+
<circle cx="376" cy="360" r="6.5" fill="#1a1533" stroke="none"/>
|
|
53
|
+
</g>
|
|
54
|
+
</svg>
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
{
|
|
2
|
-
"site_name": "Site name",
|
|
3
|
-
"title": "Site title",
|
|
4
|
-
"description": "Site description",
|
|
5
|
-
"keywords": "keyword1, keyword2, keyword3",
|
|
6
|
-
"domain": "yoursite.com",
|
|
7
|
-
"url": "https://yoursite.com",
|
|
8
|
-
"lang": "en",
|
|
9
|
-
"author": "Name and surname",
|
|
10
|
-
"data_bs_theme": "dark",
|
|
11
|
-
"theme_color": {
|
|
12
|
-
"light": "#ffffff",
|
|
13
|
-
"dark": "#0d1117"
|
|
14
|
-
},
|
|
15
|
-
"favicon": "/assets/brand/favicon.svg",
|
|
16
|
-
"logo": "/assets/brand/logo.svg",
|
|
17
|
-
"legal": {
|
|
18
|
-
"privacy": "",
|
|
19
|
-
"cookie": "",
|
|
20
|
-
"cookieControls": "",
|
|
21
|
-
"terms": "",
|
|
22
|
-
"copyright": {
|
|
23
|
-
"year": "2026",
|
|
24
|
-
"text": "All rights reserved."
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"pages": {
|
|
28
|
-
"404": {
|
|
29
|
-
"seo": {
|
|
30
|
-
"title": "404 - Not found",
|
|
31
|
-
"keywords": "",
|
|
32
|
-
"noindex": true,
|
|
33
|
-
"canonical": ""
|
|
34
|
-
},
|
|
35
|
-
"cdn": {
|
|
36
|
-
"css": [],
|
|
37
|
-
"js": []
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"homepage": {
|
|
41
|
-
"seo": {
|
|
42
|
-
"title": "Homepage",
|
|
43
|
-
"description": "Description",
|
|
44
|
-
"keywords": "",
|
|
45
|
-
"noindex": false,
|
|
46
|
-
"canonical": ""
|
|
47
|
-
},
|
|
48
|
-
"cdn": {
|
|
49
|
-
"css": [],
|
|
50
|
-
"js": []
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"site_name": "Site name",
|
|
3
|
+
"title": "Site title",
|
|
4
|
+
"description": "Site description",
|
|
5
|
+
"keywords": "keyword1, keyword2, keyword3",
|
|
6
|
+
"domain": "yoursite.com",
|
|
7
|
+
"url": "https://yoursite.com",
|
|
8
|
+
"lang": "en",
|
|
9
|
+
"author": "Name and surname",
|
|
10
|
+
"data_bs_theme": "dark",
|
|
11
|
+
"theme_color": {
|
|
12
|
+
"light": "#ffffff",
|
|
13
|
+
"dark": "#0d1117"
|
|
14
|
+
},
|
|
15
|
+
"favicon": "/assets/brand/favicon.svg",
|
|
16
|
+
"logo": "/assets/brand/logo.svg",
|
|
17
|
+
"legal": {
|
|
18
|
+
"privacy": "",
|
|
19
|
+
"cookie": "",
|
|
20
|
+
"cookieControls": "",
|
|
21
|
+
"terms": "",
|
|
22
|
+
"copyright": {
|
|
23
|
+
"year": "2026",
|
|
24
|
+
"text": "All rights reserved."
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"pages": {
|
|
28
|
+
"404": {
|
|
29
|
+
"seo": {
|
|
30
|
+
"title": "404 - Not found",
|
|
31
|
+
"keywords": "",
|
|
32
|
+
"noindex": true,
|
|
33
|
+
"canonical": ""
|
|
34
|
+
},
|
|
35
|
+
"cdn": {
|
|
36
|
+
"css": [],
|
|
37
|
+
"js": []
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"homepage": {
|
|
41
|
+
"seo": {
|
|
42
|
+
"title": "Homepage",
|
|
43
|
+
"description": "Description",
|
|
44
|
+
"keywords": "",
|
|
45
|
+
"noindex": false,
|
|
46
|
+
"canonical": ""
|
|
47
|
+
},
|
|
48
|
+
"cdn": {
|
|
49
|
+
"css": [],
|
|
50
|
+
"js": []
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
package/nibula-1.0.0.tgz
DELETED
|
Binary file
|