autogenerate collection item IDs
This commit is contained in:
@@ -13,7 +13,7 @@ export ACMS_CONTENT=$PWD/content
|
||||
## Create a restaurant collection type
|
||||
|
||||
```console
|
||||
acms collection insert restaurant/1.json <<'EOF'
|
||||
acms collection add restaurant <<'EOF'
|
||||
{
|
||||
"name": "Biscotte Restaurant",
|
||||
"description": "Welcome to Biscotte restaurant! Restaurant Biscotte offers a cuisine based on fresh, quality products, often local, organic when possible, and always produced by passionate producers."
|
||||
@@ -24,7 +24,7 @@ EOF
|
||||
## Create a category collection type
|
||||
|
||||
```console
|
||||
acms collection insert category/1.json <<'EOF'
|
||||
acms collection add category <<'EOF'
|
||||
{
|
||||
"name": "French Food",
|
||||
"restaurant": "1.json"
|
||||
@@ -33,7 +33,7 @@ EOF
|
||||
```
|
||||
|
||||
```console
|
||||
acms collection insert category/2.json <<'EOF'
|
||||
acms collection add category <<'EOF'
|
||||
{
|
||||
"name": "Brunch",
|
||||
"restaurant": "1.json"
|
||||
|
||||
Reference in New Issue
Block a user