소스 검색

docs: new cms branch option

George Cushen 4 년 전
부모
커밋
aa4fe0c757
1개의 변경된 파일15개의 추가작업 그리고 9개의 파일을 삭제
  1. 15 9
      wowchemy-cms/README.md

+ 15 - 9
wowchemy-cms/README.md

@@ -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"
+   ```