create-berna-stencil 2.0.12 → 2.0.13

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
@@ -12,7 +12,7 @@ Building a website from scratch involves a lot of moving parts: templating engin
12
12
  - 📁 **Scalable structure** — a clean, opinionated project layout that grows with your needs
13
13
  - 🌍 **Open source** — free to use, free to modify, free to share
14
14
 
15
- ![Version](https://img.shields.io/badge/version-2.0.12-blue)
15
+ ![Version](https://img.shields.io/badge/version-2.0.13-blue)
16
16
  ![License](https://img.shields.io/badge/license-Apache--2.0-blue)
17
17
  ![Eleventy](https://img.shields.io/badge/11ty-v3.1.2-black)
18
18
 
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: '2.0.12',
20
+ version: '2.0.13',
21
21
  private: true,
22
22
  scripts: {
23
23
  "build:css": "sass src/frontend/scss:out/css --no-source-map --style=compressed --quiet --load-path=node_modules",
@@ -7,14 +7,14 @@ For a page named `my-page`:
7
7
 
8
8
  | File | Purpose |
9
9
  |---|---|
10
- | `src/pages/my-page.njk` | Template with front matter |
11
- | `src/scss/pages/myPage.scss` | Imports framework + modules |
12
- | `src/js/pages/myPage.js` | Imports JS modules |
10
+ | `src/frontend/pages/my-page.njk` | Template with front matter |
11
+ | `src/frontend/scss/pages/myPage.scss` | Imports framework + modules |
12
+ | `src/frontend/js/pages/myPage.js` | Imports JS modules |
13
13
 
14
14
  ## Adding content
15
15
 
16
- 1. Create a component in `src/components/` (e.g. `_myPage.njk`)
17
- 2. Include it in `src/layouts/includes.njk` inside the generated `elif` block:
16
+ 1. Create a component in `src/frontend/components/` (e.g. `_myPage.njk`)
17
+ 2. Include it in `src/frontend/components/layouts/includes.njk` inside the generated `elif` block:
18
18
 
19
19
  ```njk
20
20
  {% elif title == "myPage" %}
@@ -29,7 +29,7 @@ The URL is the kebab-case name (`/my-page/`). The `title` in the front matter is
29
29
 
30
30
  ## SEO
31
31
 
32
- The CLI creates a stub entry in `src/data/site.json`. Fill it in:
32
+ The CLI creates a stub entry in `src/frontend/data/site.json`. Fill it in:
33
33
 
34
34
  ```json
35
35
  "myPage": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-berna-stencil",
3
- "version": "2.0.12",
3
+ "version": "2.0.13",
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
  "author": "Michele Garofalo",