@nera-static/nera 1.13.0 → 1.14.0
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 +6 -3
- package/package.json +1 -1
- package/src/starters.js +6 -0
package/README.md
CHANGED
|
@@ -130,7 +130,7 @@ depends on still updates through npm).
|
|
|
130
130
|
`--starter` takes:
|
|
131
131
|
|
|
132
132
|
- a starter name: `blank` → `@nera-static/starter-blank`, `blog` →
|
|
133
|
-
`@nera-static/starter-blog`;
|
|
133
|
+
`@nera-static/starter-blog`, `business` → `@nera-static/starter-business`;
|
|
134
134
|
- a package name: `@acme/starter-shop`, or unscoped `nera-starter-shop`;
|
|
135
135
|
- a GitHub URL: `https://github.com/owner/repo` (optionally `.git`, `#ref`),
|
|
136
136
|
or `github:owner/repo#ref`;
|
|
@@ -162,8 +162,11 @@ default. Every question has a flag (`--starter`, `--name`, `--lang`); with
|
|
|
162
162
|
`nera new` scaffolds the base template.
|
|
163
163
|
|
|
164
164
|
The official starters: `blank` (`@nera-static/starter-blank`, one accessible
|
|
165
|
-
layout, no theme)
|
|
166
|
-
`@nera-static/theme-blog` with tags, an archive, an Atom feed and a sitemap)
|
|
165
|
+
layout, no theme), `blog` (`@nera-static/starter-blog`, a blog on
|
|
166
|
+
`@nera-static/theme-blog` with tags, an archive, an Atom feed and a sitemap)
|
|
167
|
+
and `business` (`@nera-static/starter-business`, a small-business site on
|
|
168
|
+
`@nera-static/theme-business` with services, opening hours and a contact
|
|
169
|
+
form).
|
|
167
170
|
|
|
168
171
|
## Checking the built site
|
|
169
172
|
|
package/package.json
CHANGED
package/src/starters.js
CHANGED
|
@@ -15,4 +15,10 @@ export const BUNDLED_STARTERS = [
|
|
|
15
15
|
label: 'Blog',
|
|
16
16
|
description: 'A ready-to-edit Nera blog on @nera-static/theme-blog: three sample posts, tags, an archive by year, prev/next, an Atom feed, a sitemap, code blocks, navigation, responsive images, social links and imprint and privacy placeholders. No JavaScript.',
|
|
17
17
|
},
|
|
18
|
+
{
|
|
19
|
+
name: 'business',
|
|
20
|
+
package: '@nera-static/starter-business',
|
|
21
|
+
label: 'Business',
|
|
22
|
+
description: 'A ready-to-edit Nera site for a small business on @nera-static/theme-business: home, about, services, opening hours, a contact form, navigation, responsive images, social links, a sitemap and imprint and privacy placeholders. One small script for the contact form.',
|
|
23
|
+
},
|
|
18
24
|
]
|