Skip to content

Commit c8b2972

Browse files
aileenkirrg001
authored andcommitted
Added content/settings folder
refs #9528 refs TryGhost/Ghost-CLI#681 - added a new `/content/settings` folder - bumped Ghost-CLI engine requirement to >= 1.7.0
1 parent 7273786 commit c8b2972

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,15 @@ Session.vim
4848
/content/tmp/*
4949
/content/data/*
5050
/content/logs/*
51+
/content/settings/*
5152
/content/apps/**/*
5253
/content/themes/**/*
5354
/content/images/**/*
5455
/content/adapters/storage/**/*
5556
/content/adapters/scheduling/**/*
5657
!/content/themes/casper/**
5758
!/README.md
59+
!/content/**/README.md
5860

5961
# Changelog, which is autogenerated, not committed
6062
CHANGELOG.md

content/settings/README.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Content / Settings
2+
3+
### routes.yaml
4+
5+
<!-- TODO: make a better description here and link to the docs -->
6+
7+
This is how the default `routes.yaml` file looks like:
8+
9+
```yaml
10+
routes:
11+
12+
collections:
13+
/:
14+
route: '{globals.permalinks}'
15+
template:
16+
- home
17+
- index
18+
19+
resources:
20+
tag: /tag/{slug}/
21+
author: /author/{slug}/
22+
```

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727
"engines": {
2828
"node": "^4.5.0 || ^6.9.0 || ^8.9.0",
29-
"cli": "^1.3.0"
29+
"cli": "^1.7.0"
3030
},
3131
"dependencies": {
3232
"amperize": "0.3.7",

0 commit comments

Comments
 (0)