mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 16:15:12 +00:00
docs: new cms branch option
This commit is contained in:
1 parent
7819a912d2
commit
aa4fe0c757
1 file changed
+14
-8
+14
-8
@@ -19,12 +19,18 @@ Built upon the open source [Netlify CMS](https://www.netlifycms.org/) and [Netli
|
||||
|
||||
2. Create a `content/admin/index.md` file containing:
|
||||
|
||||
```yaml
|
||||
---
|
||||
type: wowchemycms
|
||||
outputs:
|
||||
- wowchemycms_config
|
||||
- HTML
|
||||
---
|
||||
```yaml
|
||||
---
|
||||
type: wowchemycms
|
||||
outputs:
|
||||
- wowchemycms_config
|
||||
- HTML
|
||||
---
|
||||
```
|
||||
|
||||
```
|
||||
3. (Optional) If your Git repository's branch is **not** `main`, define it in `config/_default/params.toml`:
|
||||
|
||||
```toml
|
||||
[cms]
|
||||
branch = "master"
|
||||
```
|
||||
Reference in new issue
Block a user