nibula 1.0.1 → 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
- ![Version](https://img.shields.io/badge/version-2.9.0-blue)
23
+ ![Version](https://img.shields.io/badge/version-1.0.2-blue)
24
24
  ![License](https://img.shields.io/badge/license-Apache--2.0-blue)
25
25
  ![Eleventy](https://img.shields.io/badge/11ty-v3.1.2-black)
26
26
 
@@ -34,7 +34,7 @@ function addPageBlock(pageName) {
34
34
 
35
35
  const block =
36
36
  `{% elif title == "${camelName}" %}\n` +
37
- `{#{% include "component.njk" %}#}\n\n`;
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.1",
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,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
+ }