瀏覽代碼

fix: Hugo does not fully mount multiple modules

Fixes sites missing speaker note capability for slides when loading multiple Hugo Modules.

Fix #1933
George Cushen 4 年之前
父節點
當前提交
8e23f3f748
共有 3 個文件被更改,包括 19 次插入0 次删除
  1. 4 0
      netlify-cms-academic/config.yaml
  2. 二進制
      wowchemy/assets/images/icon.png
  3. 15 0
      wowchemy/config.yaml

+ 4 - 0
netlify-cms-academic/config.yaml

@@ -0,0 +1,4 @@
+module:
+  mounts:
+    - source: static
+      target: static

二進制
wowchemy/assets/images/icon.png


+ 15 - 0
wowchemy/config.yaml

@@ -10,6 +10,21 @@ module:
   hugoVersion:
     min: '0.73.0'
     extended: true
+  mounts:
+    - source: content
+      target: content
+    - source: static
+      target: static
+    - source: layouts
+      target: layouts
+    - source: data
+      target: data
+    - source: assets
+      target: assets
+    - source: i18n
+      target: i18n
+    - source: archetypes
+      target: archetypes
 params:
   theme: minimal
   font: native