Explorar o código

docs: new cms branch option

George Cushen %!s(int64=4) %!d(string=hai) anos
pai
achega
aa4fe0c757
Modificáronse 1 ficheiros con 15 adicións e 9 borrados
  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"
+   ```