create-berna-stencil 1.0.26 → 1.0.27

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/bin/create.js CHANGED
@@ -17,7 +17,7 @@ const COPY_TARGETS = [
17
17
 
18
18
  const PROJECT_PACKAGE = {
19
19
  name: path.basename(targetDir),
20
- version: '1.0.26',
20
+ version: '1.0.27',
21
21
  private: true,
22
22
  scripts: {
23
23
  "build:css": "sass src/scss:c:/laragon/www/Berna-Stencil-out/css --no-source-map --style=compressed --quiet",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-berna-stencil",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "description": "Eleventy boilerplate with per-page SCSS/JS pipeline, esbuild bundling, multi-framework CSS support and a built-in page management CLI",
5
5
  "keywords": [
6
6
  "eleventy",
@@ -7,9 +7,6 @@ layout: base.njk
7
7
  {% if title == "homepage" %}
8
8
  {% include "exampleComponent.njk" %}
9
9
 
10
- {% elif title == "anotherPage" %}
11
- {% include "exampleComponent.njk" %}
12
-
13
10
  {% else %}
14
11
  {% include "404/_404.njk" %}
15
12
  {{ content | safe }}
@@ -39,16 +39,6 @@
39
39
  "css": [],
40
40
  "js": []
41
41
  }
42
- },
43
- "anotherPage": {
44
- "seo": {
45
- "title": "Another Page",
46
- "description": "description"
47
- },
48
- "cdn": {
49
- "css": [],
50
- "js": []
51
- }
52
42
  }
53
43
  }
54
44
  }
@@ -1,9 +0,0 @@
1
- ---
2
- title: "anotherPage"
3
- permalink: "/another-page/"
4
- layout: includes.njk
5
- ---
6
-
7
- <!-- !IMPORTANT -->
8
- <!-- DO NOT ADD ANYTHING HERE -->
9
- <!-- YOU SHOULD CREATE A NEW COMPONENT.NJK INTO SRC/COMPONENTS AND INCLUDE THAT IN LAYOUTS/INCLUDES.NJK-->
@@ -1,23 +0,0 @@
1
- //==========================
2
- // JAVASCRIPT MODULES IMPORTS
3
- //==========================
4
-
5
- // Call inside DOMContentLoaded
6
- import { initLangSwitcher } from '../modules/langSwitcher.js';
7
-
8
- // Call anywhere
9
- import { showNotification } from '../modules/notification.js';
10
-
11
- // Uncomment to enable optional modules (call inside DOMContentLoaded)
12
- // import { initTextAreaAutoExpand } from '../modules/forms/textAreaAutoExpand.js';
13
- // import { initNormalizePhoneNumber } from '../modules/forms/normalizePhoneNumber.js';
14
-
15
- //==========================
16
- // "another-page" PAGE CUSTOM JAVASCRIPT
17
- //==========================
18
-
19
- document.addEventListener("DOMContentLoaded", () => {
20
- initLangSwitcher();
21
- });
22
-
23
- showNotification("another-page notification", "success", 3000);
@@ -1,21 +0,0 @@
1
- //==========================
2
- // CSS MODULES IMPORTS
3
- //==========================
4
-
5
- // Use @use with a namespace to avoid framework variable conflicts:
6
- @use "../modules/root" as root;
7
-
8
- // Page layout modules — comment out any section you don't need
9
- @import "../modules/global";
10
- // Import any other module you need by import down here
11
- @import "../modules/notification";
12
-
13
- //==========================
14
- // PAGE CUSTOM CSS RULES FOR PAGE: another-page
15
- //==========================
16
-
17
- // Add any custom rule specific to this page below
18
- // These rules override the framework and module styles
19
- // body {
20
- // background-color: root.$primary;
21
- // }