@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 +1 -1
- package/package.json +1 -1
- package/src/scaffold.js +8 -0
- package/template/AGENTS.md +3 -3
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.
|
|
48
|
+
"dependencies": { "@nera-static/nera": "^1.16.0" }
|
|
49
49
|
}
|
|
50
50
|
```
|
|
51
51
|
|
package/package.json
CHANGED
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
|
package/template/AGENTS.md
CHANGED
|
@@ -113,9 +113,9 @@ the URL.
|
|
|
113
113
|
|
|
114
114
|
## Getting online
|
|
115
115
|
|
|
116
|
-
`npm run build` writes the
|
|
117
|
-
|
|
118
|
-
|
|
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
|