]> jfr.im git - irc/freenode/web-7.0.git/commitdiff
move faq config to its own yml too 60/head
authorEd Kellett <redacted>
Fri, 26 Feb 2016 07:16:00 +0000 (07:16 +0000)
committerEd Kellett <redacted>
Fri, 26 Feb 2016 07:16:00 +0000 (07:16 +0000)
config.yml
config/faq.yml [new file with mode: 0644]

index 5ac5648fcf76cb4b5f399f971e244cda293210e1..31cc5f1d294db9be288d9d67616ecf10cb1eb03d 100644 (file)
@@ -19,18 +19,6 @@ modules:
     root: 'faq/answer'
     index_root: 'faq'
     indexes:
-      chat:
-        title: 'Chat'
-        cats: [connect]
-        promote:
-          - name: faq/connect/chat
-            caption: Chat
-            icon: comment
-          - name: faq/connect/chat
-            caption: Chat
-            icon: comment
-          - name: faq/connect/chat
-            caption: Chat
-            icon: comment
+      !include config/faq.yml
 resources:
   !include config/build.yml
diff --git a/config/faq.yml b/config/faq.yml
new file mode 100644 (file)
index 0000000..24cf03a
--- /dev/null
@@ -0,0 +1,13 @@
+chat:
+  title: 'Chat'
+  cats: [connect]
+  promote:
+    - name: faq/connect/chat
+      caption: Chat
+      icon: comment
+    - name: faq/connect/chat
+      caption: Chat
+      icon: comment
+    - name: faq/connect/chat
+      caption: Chat
+      icon: comment