@nera-static/nera 1.16.0 → 1.16.1

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
@@ -45,7 +45,7 @@ and its scripts call the CLI:
45
45
  "dev": "nera dev", "build": "nera build", "serve": "nera serve",
46
46
  "validate": "nera validate", "check": "nera build --check"
47
47
  },
48
- "dependencies": { "@nera-static/nera": "^1.14.1" }
48
+ "dependencies": { "@nera-static/nera": "^1.16.0" }
49
49
  }
50
50
  ```
51
51
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nera-static/nera",
3
- "version": "1.16.0",
3
+ "version": "1.16.1",
4
4
  "description": "The Nera CLI — scaffold, build, preview and update a Nera static site with one command over the @nera-static/core engine",
5
5
  "type": "module",
6
6
  "bin": {
package/src/scaffold.js CHANGED
@@ -197,6 +197,14 @@ async function applyTheme(targetDir, theme) {
197
197
  await fs.writeFile(pkgPath, `${JSON.stringify(pkg, null, 4)}\n`)
198
198
  }
199
199
  console.log(` ✓ Using theme "${theme}"${pkgName ? ` (${pkgName})` : ''}`)
200
+ // The scaffold's footer, which links the imprint and privacy
201
+ // placeholders, is a starter template and so left out with a theme.
202
+ console.log(
203
+ ' • pages/imprint.md and pages/privacy.md are placeholders: link them ' +
204
+ 'from the theme\'s layout (theme-blog and theme-business take ' +
205
+ '`footer_links` in config/theme.yaml), or `nera build --check` ' +
206
+ 'keeps warning legal-imprint-link and legal-privacy-link.'
207
+ )
200
208
  }
201
209
 
202
210
  // `--name`: any non-empty text without line breaks. It is written as a JSON
@@ -113,9 +113,9 @@ the URL.
113
113
 
114
114
  ## Getting online
115
115
 
116
- `npm run build` writes the finished site into `public/`. That folder is what
117
- gets deployed: upload its contents to any static web host. Replace the
118
- imprint and privacy placeholders in `pages/` first, if the site has them.
116
+ `npm run build` writes the site into `public/`: upload its contents to any
117
+ static web host. Replace the imprint and privacy placeholders in `pages/`
118
+ first, if any; `legal-*` warnings are expected until they are filled and linked.
119
119
 
120
120
  <!-- nera:site-notes — everything below this line belongs to the site owner; `nera update` keeps it as it is -->
121
121
  ## Notes for this site